• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/

Lines Matching refs:and

8 Sizers, as represented by the wxSizer class and its descendants in
12 platform, taking into account the differences in size and style of
14 editors such as wxDesigner, DialogBlocks, XRCed and wxWorkshop create dialogs based exclusively on sizers,
17 The next section describes and shows what can be done with sizers.
28 size and their ability to get stretched if the size of the parent window has changed.
30 a dialog, the dialog will rather be assigned a sizer and this sizer
34 and thus does not interfere with tab ordering and requires very few resources compared
38 reports its own minimal size and the algorithm can handle differences in font sizes
57 the initial size of the controls and may either be set explicitly in the wxSize field
59 the height and/or the width of the item to -1. Note that only some controls can
61 don't have any natural width or height and thus require an explicit size. Some controls
72 {\bf A border:} The border is just empty space and is used to separate dialog items
74 such as only above and below the control. The thickness of this border must be set
76 dialog item (a button) and a border of 0, 5, and 10 pixels around the button:
89 sample shows a listbox and three buttons in a horizontal box sizer; one button
96 {\bf A stretch factor:} If a sizer contains more than one child and it is offered
97 more space than its children and their borders need, the question arises how to
105 three buttons, the first one has a stretch factor of 1 and thus gets stretched,
106 whereas the other two buttons have a stretch factor of zero and keep their
126 the controls from the sizer and having to add them back later.
128 Note: This is supported only by wxBoxSizer and wxFlexGridSizer.
161 of columns or the number or rows is fixed and the grid sizer will grow
173 wxGridSizer. The width of each column and the height of each row
175 from the respectively biggest child. Additionally, columns and
189 As an example, we will construct a dialog that will contain a text field at the top and
191 the top and buttons at the bottom and a low-hierarchy row with an OK button to the left
192 and a Cancel button to the right. In many cases (particularly dialogs under Unix and
193 normal frames) the main window will be resizable by the user and this change of size
196 a thin border around all controls to make the dialog look nice and - to make matter worse -
199 It is the unique feature of a box sizer, that it can grow in both directions (height and
207 a value of 1, they will both get resized equally much and each half as much as the sizer
211 forces the window to grow with the sizer, and wxSHAPED flag tells the window to change it is
214 wxALIGN\_BOTTOM, wxALIGN\_CENTER\_HORIZONTAL and wxALIGN\_CENTER\_VERTICAL do what they say.
218 As mentioned above, any window belonging to a sizer may have border, and it can be specified
219 which of the four sides may have this border, using the wxTOP, wxLEFT, wxRIGHT and wxBOTTOM
220 constants or wxALL for all directions (and you may also use wxNORTH, wxWEST etc instead). These
223 and it is the third parameter in the Add() method. This means, that the entire behaviour of
224 a sizer and its children can be controlled by the three parameters of the Add() method.
228 // has a text ctrl at the top and two buttons at the bottom
241 wxALL, // and make border all around
260 wxALIGN_CENTER ); // no border and centre horizontally
274 // has a text ctrl at the top and two buttons at the bottom
282 // create text ctrl with minimal size 100x60 that is horizontally and
291 // with an all-around border with a width of 10 and implicit top alignment
300 //create a sizer with no border and centered horizontally
323 height and all fields in one column having the same width, but all