Layouts work!!!!

This commit is contained in:
Sasha Koshka
2023-01-10 17:34:40 -05:00
parent 6eed70e79e
commit cb2136f7cb
4 changed files with 138 additions and 17 deletions

View File

@@ -33,6 +33,7 @@ func (layout Vertical) Arrange (entries []tomo.LayoutEntry, width, height int) {
} else {
_, entryMinHeight := entry.MinimumSize()
freeSpace -= entryMinHeight
freeSpace -= theme.Padding()
}
}
expandingElementHeight := 0