DioxusLabs / taffy

A high performance rust-powered UI layout library
https://docs.rs/taffy
Other
2.04k stars 102 forks source link

Use grid area size not available space when applying aspect ratio to grid containers #656

Closed nicoburns closed 4 months ago

nicoburns commented 4 months ago

Objective

Fix an issue surfaced by the linked test in https://github.com/DioxusLabs/taffy/issues/653.

Specifically a grid area may have a defined size even when the available space for the grid does not (for example if the grid container has fixed pixel sizing).