mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
- Latest Phoenix development integrated in the documentation builder; - Added the latest `BitmapComboBox`, `RichToolTip` etc..., with their sample; - Adapted the existing `adv` samples to use `wx.adv` in the code; - Fixed wrong rendering of various snippets. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
13 lines
522 B
Python
13 lines
522 B
Python
|
|
collpane = wx.CollapsiblePane(self, wx.ID_ANY, "Details:")
|
|
|
|
# add the pane with a zero proportion value to the 'sz' sizer which contains it
|
|
sz.Add(collpane, 0, wx.GROW | wx.ALL, 5)
|
|
|
|
# now add a test label in the collapsible pane using a sizer to layout it:
|
|
win = collpane.GetPane()
|
|
paneSz = wx.BoxSizer(wx.VERTICAL)
|
|
paneSz.Add(wx.StaticText(win, wx.ID_ANY, "test!"), 1, wx.GROW | wx.ALL, 2)
|
|
win.SetSizer(paneSz)
|
|
paneSz.SetSizeHints(win)
|