Dynamic label question

How to set automatic height in a dynamic label? Didn’t find any doc or tutorial here or internet.

2 Likes

I think it has automatic height, by default, no?

image
similarly there is for height too…

how to i set dynamic label width in %

just type % after the value

please first check and than after the replay

is not working

You can’t directly set the percentage width/height of a dynamic label.
However, you can set the width/height to this:
A x Parent.width/height
Where A is a number from 0 to 1 representing the percentage you want to set (1 for 100%, 0.4 for 40%, etc), and Parent.width/height is the width/height of the label’s container.

2 Likes

You can set the height/width to -1 for automatic and -2 for fill parent

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.