Fix docs about wx.SizerFlags.Border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11590,13 +11590,13 @@ class SizerFlags(object):
|
||||
|
||||
you can now write::
|
||||
|
||||
sizer.AddF(ctrl, wx.SizerFlags().Expand().Border(10))
|
||||
sizer.AddF(ctrl, wx.SizerFlags().Expand().Border(wx.ALL, 10))
|
||||
|
||||
This is more readable and also allows you to create wx.SizerFlags
|
||||
objects which can be reused for several sizer items.::
|
||||
|
||||
flagsExpand = wx.SizerFlags(1)
|
||||
flagsExpand.Expand().Border(10)
|
||||
flagsExpand.Expand().Border(wx.ALL, 10)
|
||||
sizer.AddF(ctrl1, flagsExpand)
|
||||
sizer.AddF(ctrl2, flagsExpand)
|
||||
|
||||
|
Reference in New Issue
Block a user