Python Forum

Full Version: Resizing the window and how to properly resize everything else?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I want to be able to make the window smaller and bigger... and scale the contents of the frame (everything that deals with wxPython and pygame). How would I go on about that?
Scale their size, or their position, or both?
well, say if I made the window bigger... more would reveal itself... etc etc... the window gets bigger... the whole picture would get bigger... it gets smaller... the window would get smaller...
If you mean keeping the aspect ratio as you scale the window in pygame... Mekrie has some nice repos with examples code of doing various tasks liek this
https://github.com/Mekire/pygame-samples.../resizable


I dont know about WxPython as i dont use it.
Ok, seems like my computer vocabulary isn't that good. Aspect ratio etc. Anything I should read about these things?

Hey can you wrap wxPython around pygame?