Half-working container flexibility propagation

This commit is contained in:
2023-01-16 23:34:17 -05:00
parent 76d50bb01a
commit e94e170a04
8 changed files with 91 additions and 34 deletions

View File

@@ -144,10 +144,10 @@ 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()
// NotifyFlexibleHeightChange notifies the parent element that this element's
// flexible height has changed.
func (control CoreControl) NotifyFlexibleHeightChange () {
control.core.hooks.RunFlexibleHeightChange()
}
// ConstrainSize contstrains the specified width and height to the minimum width