Python Forum
Resizing the window and how to properly resize everything else?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resizing the window and how to properly resize everything else?
#1
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?
Reply
#2
Scale their size, or their position, or both?
Reply
#3
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...
Reply
#4
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.
Recommended Tutorials:
Reply
#5
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?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020