[wxPython-users] Re: using a static box around a sizer and its
items
Rich Shepard
rshepard at appl-ecosys.com
Fri Nov 10 14:37:02 PST 2006
On Fri, 10 Nov 2006, John Salerno wrote:
> But how do you get items inside a StaticBox? Even when I make them siblings,
> like the docs say to do, everything appears on top of each other.
John,
Here's an example from my model application:
TermSetBox = wx.StaticBox(self, wx.ID_ANY, label=' Fuzzy Term Set ', size=wx.Size(600, 60),
style=wx.RAISED_BORDER)
TermSetSizer = wx.StaticBoxSizer(TermSetBox, wx.VERTICAL)
TermSetSizer.Add(row4, 0, wx.EXPAND|wx.ALL, 5)
The attached partial screen shot shows what it looks like.
Rich
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc.(TM) | Accelerator
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 6724 bytes
Desc:
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061110/6d2777fd/screenshot.png
More information about the wxpython-users
mailing list