Jump to content
  • Advertisement
Sign in to follow this  
Min0

[XNA] maximize window in winforms

This topic is 2643 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys, I have an XNA window represented in winForm pictureBox. Now the problem I have is - when I want to stretch the window or maximize it, the XNA windows gets stretch (like scaled) and what I want is for it to be in the same scale.
To be more clear:
what I have now:
40235219.png
and when maximized window:
42425258.png

what I want is that when it maximized the scale remains the same, just all 'extra' space gets filled with XNA background color.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!