### FillLayout

FillLayout is the simplest layout class. It lays out widgets in a single row or column, forcing them all to be the same size. Initially, the widgets will all be as tall as the tallest widget and as wide as the widest. FillLayout does not wrap, and you cannot specify margins or spacing.

You might use a FillLayout to lay out buttons in a task bar or tool bar, or to stack checkboxes in a Group. FillLayout can also be used when a Composite only has one child. In the example above, the FillLayout forces the label to completely the fill its parent shell.

The following table summarizes the attributes of FillLayout.

Attribute | Description
--- | ---
type | Can be one of HORIZONTAL (layout in a row), VERTICAL (layout in a column).