the full text in my Label does not show.
When the text exceeds the width of the screen, I would like it to continue onto a new line.
How can I make it so that the label adjusts its size according to exactly how much text is in it.
Please note the text that is displayed in the variable varies (it depends on the user).
With default settings:
As long as it’s not inside a HorizontalScrollArrangement it should automatically do what you want.
What do you have the Width set to?
And is it inside a HorizontalScrollArrangement?
The width is set to automatic but it’s still not showing the full text.
It should fill the width of the screen then kick to a new line then…
It’s inside one cell of a table arrangement. Could that be why?
So how do I fix it? Because I need it to be in that arrangement.
Should I try using a vertical scroll arrangement or something?
Play with a few things, just remember that a child component will inherit the component of its parent. You are going to have to try a few things to figure out what works for you and your UI objectives.
I just tried that and it works if you set the size of the VerticalScrollArrangement:
It didn’t work
For a split second when the app loads, the scroll bar shows up. But then it goes away. Could it just be a glitch?
Show your blocks, and paste an image of your design screen components
Your label component is “pinned” in. You need to play with the other components automatic settings, and enable responsive if it is not.
No that’s not the right label
it’s these ones (that are on the right of the labels that say Name:, Contact Number etc.):
There’s no text in them right now so there’s nothing visible there
Still pinned in.
You have to work with all the arrangments. It can be cumbersome, but there is no way around it.
please keep arrangement height in automatic in properties.
hope attachment could help you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.