Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

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?
Quote
#2
Scale their size, or their position, or both?
It's dangerous to go alone!  Take this: https://docs.python.org/3/library/index.html
Kevin Flynn is my spirit animal.
Quote
#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...
Quote
#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.
Quote
#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?
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)