Fix layout for wrapped row with spacing

This commit is contained in:
mtkennerly 2024-09-20 22:15:03 -04:00
parent 6162850c78
commit 05d5e0739d
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408

View file

@ -477,7 +477,7 @@ where
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);
let size =