iOS Question Text too long in button

Giusy

Active Member
Licensed User
Hi,
when a text is too long in button apple puts the dots in the middle of the text "xxx xxx xxxx ... xxx"
is it possible to have this result "xxx xxx xxxx x..."?
Thanks
 

klaus

Expert
Licensed User
Longtime User
Use:
B4X:
Dim bno As NativeObject =myButton
'byWordWrapping = 0, byCharWrapping = 1, byClipping = 2, byTruncatingHead = 3, byTruncatingTail = 4, byTruncatingMiddle = 5
bno.SetField("lineBreakMode", 4)
Information from HERE.
I learnd this from JordiCP answer HERE.
 
Upvote 0
Top