API to convert percent type of length into value type at runtime #317
Closed
Drunk3n-P1nky
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
|
Are the calculated UIBlock layout properties what you're looking for? E.g. // if uiBlock.Size.X is a percent Length, convert to value
uiBlock.Size.X.Value = uiBlock.CalculatedSize.X.Value;
// if uiBlock.Size.X is a value Length, convert to percent
uiBlock.Size.X.Percent = uiBlock.CalculatedSize.X.Percent;If that's not what you're referring to, would you mind elaborating on your use case? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Sometimes it's just necessary for implementations of some features
Beta Was this translation helpful? Give feedback.
All reactions