@js
ConstraintPane is used to constrain the preferred width and height of its content widget.
Slots
- maxhSource
-
Int? maxh := null
Maximum width or null to use pref height of content.
- maxwSource
-
Int? maxw := null
Maximum width or null to use pref width of content.
- minhSource
-
Int? minh := null
Minimum height null to use pref height of content
- minwSource
-
Int? minw := null
Minimum width or null to use pref width of content
- prefSizeSource
-
override Size prefSize(Hints hints := Hints.defVal)
Overrides fwt::ContentPane.prefSize
Doc inherited from fwt::Pane.prefSize
Compute the preferred size of this widget. The hints indicate constraints the widget should consider in its calculations. If no constraints are known for width, then
hints.w
will be null. If no constraints are known for height, thenhints.h
will be null.