Shrink to Children ignores children with Percent based scaling #231
TribalInstincts
started this conversation in
Feature Requests
Replies: 1 comment
-
Would be quite useful |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if any of the children of a UIBlock have a % based size on the same axis as the parents Shrink to Children, you get a warning saying it can lead to undesired results on the child. I would like to se this changed to have the parent shrink logic simply ignore these child items, allowing them to work together.
Either that, or some flag to let me manually remove an element from that consideration.
Use case:
Text fitting buttons that also have child image nodes. I would like the button to be able to shrink to the text size, ignoring the elements that fill the parent.
Beta Was this translation helpful? Give feedback.
All reactions