Fix Column layout not allocating space to expanding boxes

This commit is contained in:
Sasha Koshka 2024-06-15 07:54:49 -04:00
parent da346f2f12
commit 6d157eb9af

View File

@ -57,6 +57,7 @@ func (column Column) Arrange (hints tomo.LayoutHints, boxes []tomo.Box) {
freeSpace -= float64(box.MinimumSize().X)
}
}
expandingSize = freeSpace / float64(nExpanding)
}
// determine width