Horizontal layouts now take into account flexible elements

This commit is contained in:
2023-01-16 23:58:20 -05:00
parent e94e170a04
commit 9459bcd942
3 changed files with 33 additions and 7 deletions

View File

@@ -300,7 +300,7 @@ func (element *Container) HandleSelection (direction tomo.SelectionDirection) (o
return false
}
// TODO: fix this!
// FIXME: fix this!
// func (element *Container) MinimumHeightFor (width int) (height int) {
// return element.layout.MinimumHeightFor(element.children, width)
// }