Widget.pack

Geometry method for loosely placing this widget inside its parent using a web browser model. Widgets flow around each other in the available space.

class Widget
pack
(
this T
)
(
int outerPadding = 0
,
int innerPadding = 0
,,,,
bool expand = false
)

Parameters

outerPadding int

The amound of padding to add around the widget.

innerPadding int

The amound of padding to add inside the widget.

side string

The side to place the widget inside its parent.

fill string

The space to fill inside its parent.

anchor string

The anchor position of the widget inside its parent.

expand bool

Whether or not to expand to fill the entire given space.

Return Value

Type: auto

This widget to aid method chaining.

See Also

Meta