Android Question Word Wrapping in Label

Juzer Hussain

Active Member
Licensed 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

Administrator
Staff member
Licensed 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
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

Well-Known Member
Licensed 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