- This parameter can be used to set a number of flags
- which can be combined using the binary OR operator |. Two main
- behaviours are defined using these flags. One is the border around a
- window: the border parameter determines the border width whereas
- the flags given here determine which side(s) of the item that the
- border will be added. The other flags determine how the sizer item
- behaves when the space allotted to the sizer changes, and is somewhat
- dependent on the specific kind of sizer used.
-
- wxTOP
-
- wxBOTTOM
-
- wxLEFT
-
- wxRIGHT
-
- wxALL
-
-
- These flags are used to specify which side(s) of
- the sizer item the border width will apply to.
-
-
- wxEXPAND
-
-
- The item will be expanded to fill
- the space assigned to the item.
-
- wxSHAPED
-
-
- The item will be expanded as much
- as possible while also maintaining its aspect ratio
-
- wxFIXED_MINSIZE
-
-
- Normally wxSizers will use
- GetAdjustedBestSize to
- determine what the minimal size of window items should be, and will
- use that size to calculate the layout. This allows layouts to
- adjust when an item changes and its best size becomes
- different. If you would rather have a window item stay the size it
- started with then use wxFIXED_MINSIZE.
-
- wxALIGN_CENTER wxALIGN_CENTRE
-
- wxALIGN_LEFT
-
- wxALIGN_RIGHT
-
- wxALIGN_TOP
-
- wxALIGN_BOTTOM
-
- wxALIGN_CENTER_VERTICAL wxALIGN_CENTRE_VERTICAL
-
- wxALIGN_CENTER_HORIZONTAL wxALIGN_CENTRE_HORIZONTAL
-
-
- The wxALIGN flags allow you to
- specify the alignment of the item within the space allotted to it by
- the sizer, adjusted for the border if any.
-
+ This parameter can be used to set a number of flags
+ which can be combined using the binary OR operator |. Two main
+ behaviours are defined using these flags. One is the border around a
+ window: the border parameter determines the border width whereas
+ the flags given here determine which side(s) of the item that the
+ border will be added. The other flags determine how the sizer item
+ behaves when the space allotted to the sizer changes, and is somewhat
+ dependent on the specific kind of sizer used.
+
+
+
+
+
+
+ wxTOP
+
+ wxBOTTOM
+
+ wxLEFT
+
+ wxRIGHT
+
+ wxALL
+
+
+
+
+ These flags are used to specify which side(s) of
+ the sizer item the border width will apply to.
+
+
+
+
+
+ wxEXPAND
+
+
+
+
+ The item will be expanded to fill
+ the space assigned to the item.
+
+
+
+
+
+ wxSHAPED
+
+
+
+
+ The item will be expanded as much
+ as possible while also maintaining its aspect ratio
+
+
+
+
+
+ wxFIXED_MINSIZE
+
+
+
+
+ Normally wxSizers will use
+ GetAdjustedBestSize to
+ determine what the minimal size of window items should be, and will
+ use that size to calculate the layout. This allows layouts to
+ adjust when an item changes and its best size becomes
+ different. If you would rather have a window item stay the size it
+ started with then use wxFIXED_MINSIZE.
+
+
+
+
+
+ wxALIGN_CENTER wxALIGN_CENTRE
+
+ wxALIGN_LEFT
+
+ wxALIGN_RIGHT
+
+ wxALIGN_TOP
+
+ wxALIGN_BOTTOM
+
+ wxALIGN_CENTER_VERTICAL wxALIGN_CENTRE_VERTICAL
+
+ wxALIGN_CENTER_HORIZONTAL wxALIGN_CENTRE_HORIZONTAL
+
+
+
+
+ The wxALIGN flags allow you to
+ specify the alignment of the item within the space allotted to it by
+ the sizer, adjusted for the border if any.