Ok this is overstepping the bounds of this branch

This commit is contained in:
Sasha Koshka
2023-01-19 17:35:19 -05:00
parent 7b8cdd9e04
commit 78fb934afe
3 changed files with 97 additions and 9 deletions

View File

@@ -273,6 +273,10 @@ func (element *TextBox) ScrollAxes () (horizontal, vertical bool) {
return true, false
}
func (element *TextBox) OnScrollBoundsChange (callback func ()) {
element.onScrollBoundsChange = callback
}
func (element *TextBox) updateMinimumSize () {
textBounds := element.placeholderDrawer.LayoutBounds()
element.core.SetMinimumSize (