| |
17. 95. 1. 使用FillLayout |
|
- FillLayout lays out controls into a single row or column (without wrap).
- FillLayout forces all the children to be the same size.
- FillLayout places the children into the whole client area of a composite.
|
You can specify the margins and spacing properties.
FillLayout has no layout data.
The primary usage of FillLayouts is laying out controls in task bars and toolbars. |
It places all controls in either a single column or a single row, and makes them all the same size. |
FillLayout Constructors: |
Constructor | Description | public FillLayout() | Constructs a FillLayout and sets type to SWT.HORIZONTAL. | public FillLayout(int type) | Constructs a FillLayout and sets type to the passed type. |
|
|