Skip to content

Commit 85f3ba1

Browse files
author
philter
committed
Layout Fixes
This PR contains 2 fixes: 1. Reverted the change to set overflow to scroll. Upon further digging, the reason why the CPP code was behaving differently than dart was because CPP wasn't respecting the maxSize passed into the measure function. Updated CPP to match dart. 2. Fixes an issue Michael posted here: https://2dimensions.slack.com/archives/C078KG6KAJY/p1730234389356109. The issue was that when a layout has both layouts and a IntrinsicallySizeable object as children, the child layouts are rendered correctly, but the IntrinsicallySizeable child was not sizing properly due to a previous fix that did not pass the width/height to controlSize if the parent was set to hug. Regarding the overflow, I think this could be useful, so will discuss adding it as an inspector option in the future. Diffs= 1d5a580041 Layout Fixes (#8468)
1 parent 99eb5ae commit 85f3ba1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d60ea4cc71d4cef209b3932bce63d97480a3c6a9
1+
1d5a58004181e12fddef56e9c2a56a8d14fa451a

0 commit comments

Comments
 (0)