This project is read-only.


Window.AllowUserResizing = true; doesn't work when resizing with borders


When this option is set, resizing the window by dragging the window border causes the window to snap back to the original size. Making the window fullscreen using the maximize control box or using Aero snap works just fine.

OS: Windows 7
Monogame Version: 3.0 Beta
Visual Studio: 2012

file attachments

Closed May 28, 2016 at 8:53 PM by TomSpilman


Ruirize wrote Dec 5, 2012 at 4:05 PM

This is caused by ChangeClientBounds setting updateClientBounds to true, but then the method that acts on this checks for false.

Ruirize wrote Dec 5, 2012 at 4:11 PM

Scratch that. I have no idea what's going on there, but having updateClientBounds constantly false, it works.

Ruirize wrote Dec 5, 2012 at 4:53 PM


Turns out, it's caused by the lack of RunLoop() being called while the user is resizing, and so it only accepts the first event.

wrote Dec 8, 2012 at 2:26 PM

wrote Feb 22, 2013 at 2:56 AM

wrote May 28, 2016 at 8:53 PM