Disable window resizing by default.
Toggle maximize button on AllowUserResizing.