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:
Robin Dunn
2007-03-19 16:27:10 +00:00
parent 925723fb81
commit 0996afab2e
5 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ disturb existing code. For example, instead of writing::
you can now write:: you can now write::
sizer.AddF(ctrl, wx.SizerFlags().Expand().Border(10)) sizer.AddF(ctrl, wx.SizerFlags().Expand().Border(wx.ALL,10))
Will Sadkin provided a patch for the wx.lib.masked package that fixes Will Sadkin provided a patch for the wx.lib.masked package that fixes

View File

@@ -31,13 +31,13 @@ parameters using the named methods instead. For example, instead of::
you can now write:: 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 This is more readable and also allows you to create wx.SizerFlags
objects which can be reused for several sizer items.:: objects which can be reused for several sizer items.::
flagsExpand = wx.SizerFlags(1) flagsExpand = wx.SizerFlags(1)
flagsExpand.Expand().Border(10) flagsExpand.Expand().Border(wx.ALL, 10)
sizer.AddF(ctrl1, flagsExpand) sizer.AddF(ctrl1, flagsExpand)
sizer.AddF(ctrl2, flagsExpand) sizer.AddF(ctrl2, flagsExpand)

View File

@@ -11590,13 +11590,13 @@ class SizerFlags(object):
you can now write:: 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 This is more readable and also allows you to create wx.SizerFlags
objects which can be reused for several sizer items.:: objects which can be reused for several sizer items.::
flagsExpand = wx.SizerFlags(1) flagsExpand = wx.SizerFlags(1)
flagsExpand.Expand().Border(10) flagsExpand.Expand().Border(wx.ALL, 10)
sizer.AddF(ctrl1, flagsExpand) sizer.AddF(ctrl1, flagsExpand)
sizer.AddF(ctrl2, flagsExpand) sizer.AddF(ctrl2, flagsExpand)

View File

@@ -11590,13 +11590,13 @@ class SizerFlags(object):
you can now write:: 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 This is more readable and also allows you to create wx.SizerFlags
objects which can be reused for several sizer items.:: objects which can be reused for several sizer items.::
flagsExpand = wx.SizerFlags(1) flagsExpand = wx.SizerFlags(1)
flagsExpand.Expand().Border(10) flagsExpand.Expand().Border(wx.ALL, 10)
sizer.AddF(ctrl1, flagsExpand) sizer.AddF(ctrl1, flagsExpand)
sizer.AddF(ctrl2, flagsExpand) sizer.AddF(ctrl2, flagsExpand)

View File

@@ -11594,13 +11594,13 @@ class SizerFlags(object):
you can now write:: 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 This is more readable and also allows you to create wx.SizerFlags
objects which can be reused for several sizer items.:: objects which can be reused for several sizer items.::
flagsExpand = wx.SizerFlags(1) flagsExpand = wx.SizerFlags(1)
flagsExpand.Expand().Border(10) flagsExpand.Expand().Border(wx.ALL, 10)
sizer.AddF(ctrl1, flagsExpand) sizer.AddF(ctrl1, flagsExpand)
sizer.AddF(ctrl2, flagsExpand) sizer.AddF(ctrl2, flagsExpand)