modify free layout constraint

This commit is contained in:
figsoda 2020-10-30 12:21:50 -04:00
parent 895c4e7617
commit f3534a03fe

View file

@ -77,7 +77,7 @@ pub fn render(
match x {
Constrained::Free(w) => {
ws.push(w);
cs.push(Constraint::Min(1));
cs.push(Constraint::Min(0));
}
Constrained::Fixed(n, w) => {
ws.push(w);