Labels may request an expanding height change

This commit is contained in:
2023-01-16 18:04:41 -05:00
parent 7754679710
commit d9281b139f
7 changed files with 71 additions and 18 deletions

View File

@@ -144,6 +144,12 @@ func (control CoreControl) SetMinimumSize (width, height int) {
}
}
// NotifyExpandingHeightChange notifies the parent element that this element's
// expanding height has changed.
func (control CoreControl) NotifyExpandingHeightChange () {
control.core.hooks.RunExpandingHeightChange()
}
// ConstrainSize contstrains the specified width and height to the minimum width
// and height, and returns wether or not anything ended up being constrained.
func (control CoreControl) ConstrainSize (