Ok thats it next commit im getting rid of parent hooks

This commit is contained in:
2023-01-19 13:07:27 -05:00
parent df21aa9fd0
commit dcc7fcb251
6 changed files with 183 additions and 3 deletions

View File

@@ -149,6 +149,12 @@ func (control CoreControl) NotifyFlexibleHeightChange () {
control.core.hooks.RunFlexibleHeightChange()
}
// NotifyContentBoundsChange notifies the parent element that this element's
// inner content bounds or scroll position have changed.
func (control CoreControl) NotifyContentBoundsChange () {
control.core.hooks.RunContentBoundsChange()
}
// 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 (