Merge pull request #2596 from mtkennerly/bugfix/wrapped-row-with-spacing
Fix layout for wrapped row with spacing
This commit is contained in:
commit
3a1ed24550
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ where
|
||||||
intrinsic_size.width = intrinsic_size.width.max(x - spacing);
|
intrinsic_size.width = intrinsic_size.width.max(x - spacing);
|
||||||
}
|
}
|
||||||
|
|
||||||
intrinsic_size.height = (y - spacing).max(0.0) + row_height;
|
intrinsic_size.height = y + row_height;
|
||||||
align(row_start..children.len(), row_height, &mut children);
|
align(row_start..children.len(), row_height, &mut children);
|
||||||
|
|
||||||
let size =
|
let size =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue