Android Question Word Wrapping in Label

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi Freinds,

The word wrap property of label breaks the word from in between.
I want to show long text in label without breaking the word.

instead of -:
Excellent Tech
nologies


want to show
Excellent
Technologies


The word should wrap fully to next line. A very long word without space will not come.

Is there any property for this or i need to code it.

Pls give some clue.

Thanks
Juzer
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
It will only break the word if there isn't enough space to show the full word. You can see this behavior in the designer by playing with the label size.

1626182101379.png


1626182120502.png
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
Thanks for replying Erel,
This is what I don't want. Whole word should come down. The label is actually center aligned.
(Sorry in the example above it is left aligned}
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
Alignment does not matter.

Erel says check size (width) of the label. In designer preview, increase/decrease the label width and you can see how it breaks.
 
Upvote 0
Top