You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some modifications to hug behavior to support hugging when a layout has layout children. @alxgibsn suggested extending the **hug** option to include this scenario.
- Hug is now available for both leaf layouts and layouts that have other layout children.
- For leaf layouts, the behavior is unchanged (measure function computes size based on child components).
- For layouts with layout children, the layout engine computes the size based on size of its child layouts
- For layouts with a combination of layout and non-layout children, it will compute size based on child layouts, and the non layout children will be sized to that.
https://github.com/user-attachments/assets/e8a97126-f50e-4f30-a73d-ea9558893de1
Diffs=
c67b67083 Updates to layout hug (#8132)
0 commit comments