Skip to content

Commit d8b5aad

Browse files
author
philter
committed
Updates to layout hug
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)
1 parent ec02bb7 commit d8b5aad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
30f5778b110240359097464e7ab8b2ccc6f18bb8
1+
c67b67083abe9d1448137122aeb76f20549ae89b

0 commit comments

Comments
 (0)