Fix Column layout not allocating space to expanding boxes
This commit is contained in:
parent
da346f2f12
commit
6d157eb9af
@ -57,6 +57,7 @@ func (column Column) Arrange (hints tomo.LayoutHints, boxes []tomo.Box) {
|
|||||||
freeSpace -= float64(box.MinimumSize().X)
|
freeSpace -= float64(box.MinimumSize().X)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
expandingSize = freeSpace / float64(nExpanding)
|
||||||
}
|
}
|
||||||
|
|
||||||
// determine width
|
// determine width
|
||||||
|
Loading…
Reference in New Issue
Block a user