Renamed Expanding to Flexible

This commit is contained in:
2023-01-16 22:27:17 -05:00
parent d9281b139f
commit 76d50bb01a
3 changed files with 8 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ func (window *Window) redrawChildEntirely () {
func (window *Window) resizeChildToFit () {
window.skipChildDrawCallback = true
if child, ok := window.child.(tomo.Expanding); ok {
if child, ok := window.child.(tomo.Flexible); ok {
minimumHeight := child.MinimumHeightFor(window.metrics.width)
_, minimumWidth := child.MinimumSize()