I’m munging a bunch of examples together, and basically have a notebook inside a scrolledPanel. I can’t figure out how to make the default size of the frame appear with all the notebook tab text labels showing fully.
here’s my code
http://pastebin.com/sQC65BL8
Seems like adding Layout or Fit randomly doesn’t change anything.
Sorry I was moderated and couldn’t repost the correct pastebin link! Here it is:
http://pastebin.com/zfM7FCQP
···
On Wednesday, March 26, 2014 7:45:08 PM UTC-7, Nathan McCorkle wrote:
I’m munging a bunch of examples together, and basically have a notebook inside a scrolledPanel. I can’t figure out how to make the default size of the frame appear with all the notebook tab text labels showing fully.
here’s my code
http://pastebin.com/sQC65BL8
Seems like adding Layout or Fit randomly doesn’t change anything.
Here is what I used at the end of my def init for a recent app.
self.SetSize((self.GetBestSize()))
This should examine the size needed for the displayed widgets and set the window to that size.
···
On Thursday, March 27, 2014 1:21:22 PM UTC-4, Nathan McCorkle wrote:
Sorry I was moderated and couldn’t repost the correct pastebin link! Here it is:
http://pastebin.com/zfM7FCQP
On Wednesday, March 26, 2014 7:45:08 PM UTC-7, Nathan McCorkle wrote:
I’m munging a bunch of examples together, and basically have a notebook inside a scrolledPanel. I can’t figure out how to make the default size of the frame appear with all the notebook tab text labels showing fully.
here’s my code
http://pastebin.com/sQC65BL8
Seems like adding Layout or Fit randomly doesn’t change anything.