
InsetPane creates padding along the four edges of its content.
Slots
-
static private Insets defInsets := Insets.?(10, 10, 10, 10)
- insets
-
Insets insets := defInsets
Insets to leave around the edge of the content. The default is 10 pixels on all sides.
- make
-
new make(Int top := 10, Int right := 10, Int bottom := 10, Int left := 10)
Construct with optional top, right, bottom, left insets
- onLayout
-
override Void onLayout()
Handle the layout event. The method is only called Pane containers. Custom panes must override this method to set the bounds on all their children.
- prefSize