Skip to main content

Constrained Box

ConBox Widget

Overview

The Constrained Box puts additional constraints on the dimensions of the child widget. It is used to resize the child widget.

Use Cases

  • Constrain the height of a button to stretch it or constrain text width to have multiple lines.

Properties

  • Provide constraint limits like Minimum width and height, Maximum width and height.
  • If you want the minimum height of the child widget to be 100 pixels, enter the Min Height constraint as 100.