[wxPython-users] Struggling with getting Sizers to expand with the
size of their contents
Christopher Barker
Chris.Barker at noaa.gov
Fri Jan 12 16:16:49 PST 2007
EyePulp wrote:
> I'm adding a 3colx1row FlexGridSizer to each cell of
> the BoxSizer. The 3-celled FlexGridSizer is set to have it's middle
> column grow with flxGrid.AddGrowableCol( 1 )
I have no idea if this will help, but why not a BoxSizer(wx.HORIZONTAL)
here instead of a FlexGridSizer?
> Though the FlexGridSizer seems to stretch the middle column
> horizontally just fine, I can't seem to find the magic methodto get it
> to expand vertically when the content gets bigger.
Maybe flxGrid.AddGrowableCRow( 0 ) ?
If this doesn't work, you really should try to isolate the problem --
you learn a lot that way, and if it's that hard, your app could use some
re-structuring!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list