how does one set the (OS) window size/clientRect in an code only environment at startup?
what i tried, but didnt work:
- setting PreferredBackBufferWidth/Height of Game.GraphicsDeviceManager
- setting Game.Window.PreferredWindowedSize in the OnWindowCreatedEvent
(in that event i can set the position of the window but the preferred size is ignored)
- both (1 & 2)