Disable windows resize / allow maximizing

Hi,

Is there a way to disable resizing by dragging the edge of the window while still allowing the user to maximize the app using the window control buttons?

Thanks!