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:
@@ -452,13 +452,14 @@ wrappers will figure out what to do.
|
||||
|
||||
**[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
|
||||
GetAdjustedBestSize will be called when calculating layout and the
|
||||
return value from that will be used for the minimum size. Added
|
||||
wx.FIXED_MINSIZE flag for when you would like the old behavior but you
|
||||
should only need it when your desired size is smaller than the item's
|
||||
GetBestSize. 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.
|
||||
GetMinSize and/or GetBestSize will be called when calculating layout
|
||||
and the return value from that will be used for the minimum size. The
|
||||
wx.FIXED_MINSIZE flag was added that will cause the sizer to *not*
|
||||
call window methods to determine the new best size, instead the
|
||||
minsize that the window had when added to the sizer (or the size the
|
||||
window was created with) will always be 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.
|
||||
|
||||
|
||||
PlatformInfo
|
||||
|
Reference in New Issue
Block a user