Constraints
Constraints
Constraints set minimum and maximum pixel sizes on a group, stopping it from being resized beyond those bounds. They apply to groups only, and are not saved with the layout.
Constraints come with several caveats. They are not serialized with layouts and can only be applied to groups.
onDidConstraintsChange |
|
|---|---|
setConstraints |
|
See also
- Resizing: set a panel or group's exact height and width programmatically
- Sizing and layout: control initial and proportional sizing