Function zng::layout::min_height
source · pub fn min_height(
child: impl UiNode,
min_height: impl IntoVar<Length>,
) -> impl UiNode
Expand description
P
Minimum height of the widget.
The widget height can be larger then this but not smaller. Relative values are computed from the constraints maximum bounded height.
This property does not force the minimum constrained height, the min_height
is only used
if it is greater then the constrained minimum.
This property disables inline layout for the widget.
§min_size
You can set both min_width
and min_height
at the same time using the min_size
property.