All,
When the pos=(-1,-1), what does that mean, and what effect does a subsequent sizer have on such a widget?
Here's another one:
vsizer1.SetMinSize((300,-1))
What effect does the -1 have on the current statement and ensuing statements?
David.
All,
When the pos=(-1,-1), what does that mean, and what effect does a subsequent sizer have on such a widget?
Here's another one:
vsizer1.SetMinSize((300,-1))
What effect does the -1 have on the current statement and ensuing statements?
David.
David Arnold wrote:
All,
When the pos=(-1,-1), what does that mean, and what effect does a subsequent sizer have on such a widget?
Here's another one:
vsizer1.SetMinSize((300,-1))
What effect does the -1 have on the current statement and ensuing statements?
David.
-1 is basically an alias for wx.ID_ANY
When dealing with sizes/positions, it defaults to whatever size is
needed by the control's containing widgets (I believe)
when using vsizer1.SetMinSize((300,-1)) , here -1 means that only the
minimum x axis is set - there's no change in y.
--
Steven Sproat, BSc
http://www.launchpad.net/whyteboard