- Home /
What is the LayoutElement.FlexibleWidth/FlexibleHeight above 1 for?
The flexible width or height in a layout element, I've always used from 0 to 1 as a percentage for population. But it is able to go beyond 1, what is this for? I saw someone say that it was for setting a pixel value, but I tested this and it did not seem to be true. Could someone clarify?
I'd say it's a mistake in the component not using Range and the value just gets clamped.
That would be interesting since it's been this way for a number of years at this point. Relatively obvious mistake to be persisting for so long. $$anonymous$$aybe later I'll go through their source code and see what's happening behind the scenes with it.
Your answer
Follow this Question
Related Questions
Vertical Layout with Pixel Perfect scaling 0 Answers
How to Stretch objects in grid layout when screen size is changed 0 Answers
Scale Layout elements to fit screen 2 Answers
GridLayout Scaling Issues 1 Answer