I'm modifying an application I wrote a few years ago for a similar
purpose. When the application is invoked the window is now too small for all
widgets on the opening notebook tab to be visible. I've not found where I
can define the initial window size.
In the main module is the application frame and the tabbed notebook. There
is no explicit size defined in either class, nor in the call to the app at
the end. The class for each tab has the sizers set up like this:
topLevelBox = wx.BoxSizer(wx.VERTICAL) # main container
outerBox = wx.BoxSizer(wx.VERTICAL) # base container
hbox1 = wx.BoxSizer(wx.HORIZONTAL) # first row container
hbox2 = wx.BoxSizer(wx.HORIZONTAL) # second row container
hbox3 = wx.BoxSizer(wx.HORIZONTAL) # third row container
hbox4 = wx.BoxSizer(wx.HORIZONTAL) # fourth row container
hbox5 = wx.BoxSizer(wx.HORIZONTAL) # fifth row container
hbox6 = wx.BoxSizer(wx.HORIZONTAL) # sixth row container
buttonBox = wx.BoxSizer(wx.HORIZONTAL) # button container
and just above those I have:
self.SetClientSize(wx.Size(1600, 600))
self.Fit()
The wx.Size for the original application was (800, 600), but doubling the
x dimension does not make the initial window twice as wide.
What have I missed so I can make the window wider when the application is
invoked?
TIA,
Rich