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?
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?
It's dangerous to go alone!  Take this: https://docs.python.org/3/library/index.html
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

I dont know about WxPython as i dont use it.
*Describe the environment in which it occurs.                                    *Describe the symptoms of your problem clearly.
*Describe the research you did to try and understand the problem.      *Describe the goal, not the step. 
*Use meaningful, specific subject headers                                          *Write in clear, grammatical, correctly-spelled language
*Describe the problem's symptoms, not your guesses                         *Describe your problem's symptoms in chronological order
*Describe the diagnostic steps you took to try and pin down the problem yourself.
*Describe any possibly relevant recent changes in your computer or software configuration. 
*Provide a way to reproduce the problem in a controlled environment.
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?

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)