sizers 101 (was Re: Starting again simply)

My earlier post was incorrect. This does solve my problem. Thanks so
much!

--vicki

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Monday, July 19, 2004 1:28 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] sizers 101 (was Re:
[wxPython-users] Starting again simply)

Werner F. Bruhin wrote:

Stanfield, Vicki {D167~Indianapolis} wrote:

      outerboxsizer.Add(flexsizer, wx.ALIGN_RIGHT)
    
Try and change the above to:

                       outerboxsizer.Add(flexsizer, 0,

wx.ALIGN_RIGHT,

0)

Yes, this is the problem. Using wx.ALIGN_RIGHT for the proportion
parameter is telling the sizer that this item should get 512 shares of
the available space!

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org