Tweak the text about Sizer changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-25 00:37:18 +00:00
parent fb3d05e944
commit ffcb969ec6
2 changed files with 17 additions and 14 deletions

View File

@@ -5,13 +5,15 @@ Recent Changes for wxPython
------- -------
wx.ADJUST_MINSIZE is now the default behaviour for window items in wx.ADJUST_MINSIZE is now the default behaviour for window items in
sizers. This means that the item's GetAdjustedBestSize will be called sizers. This means that the item's GetMinSize and/or GetBestSize will
when calculating layout and the return value from that will be used be called when calculating layout and the return value from that will
for the minimum size. Added wx.FIXED_MINSIZE flag for when you would be used for the minimum size. The wx.FIXED_MINSIZE flag was added
like the old behavior but you should only need it when your desired that will cause the sizer to *not* call window methods to determine
size is smaller than the item's GetBestSize. When a window is added the new best size, instead the minsize that the window had when added
to a sizer it's initial size, if any, is set as the window's minimal to the sizer (or the size the window was created with) will always be
size using SetSizeHints if there isn't already a minimal size. used. When a window is added to a sizer it's initial size, if any, is
set as the window's minimal size using SetSizeHints if there isn't
already a minimal size.
Added some convenience methods to wx.Bitmap: SetSize, GetSize, and Added some convenience methods to wx.Bitmap: SetSize, GetSize, and
wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence) wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence)

View File

@@ -452,13 +452,14 @@ wrappers will figure out what to do.
**[Changed in 2.5.1.6]** wx.ADJUST_MINSIZE is now the default **[Changed in 2.5.1.6]** wx.ADJUST_MINSIZE is now the default
behaviour for window items in sizers. This means that the item's behaviour for window items in sizers. This means that the item's
GetAdjustedBestSize will be called when calculating layout and the GetMinSize and/or GetBestSize will be called when calculating layout
return value from that will be used for the minimum size. Added and the return value from that will be used for the minimum size. The
wx.FIXED_MINSIZE flag for when you would like the old behavior but you wx.FIXED_MINSIZE flag was added that will cause the sizer to *not*
should only need it when your desired size is smaller than the item's call window methods to determine the new best size, instead the
GetBestSize. When a window is added to a sizer it's initial size, if minsize that the window had when added to the sizer (or the size the
any, is set as the window's minimal size using SetSizeHints if there window was created with) will always be used. When a window is added
isn't already a minimal size. to a sizer it's initial size, if any, is set as the window's minimal
size using SetSizeHints if there isn't already a minimal size.
PlatformInfo PlatformInfo