class fwt::InsetPane
sys::Obj fwt::Widget fwt::Pane fwt::ContentPane fwt::InsetPane
InsetPane creates padding along the four edges of its content.
- insets
-
Insets insets := defInsets
Insets to leave around the edge of the content. The default is 12 pixels on all sides.
- make
-
new make(Int top := 12, Int? right := null, Int? bottom := null, Int? left := null)
Construct with optional top, right, bottom, left insets. If one side is not specified, that value is reflected from the opposite side:
InsetPane(5) === InsetPane(5,5,5,5) InsetPane(5,6) === InsetPane(5,6,5,6) InsetPane(5,6,7) === InsetPane(5,6,7,6)
- onLayout
-
virtual override Void onLayout()
- prefSize