Android Question remove line continuation characters from label.

JakeBullet70

Well-Known Member
Licensed User
Longtime User
How does one remove line continuation characters from label.
I mean the three dots ... an the end of a string when its to long to display? IE: 'This is long te...'
I have seen the code here but after 30 minutes of searching my VERY tired brain cannot find find it.
 
Solution
I'm not sure to understand. Anyway, did you check "Ellipsize" in group Text properties when the lable is selected in Designer?
If that is what you need, juste select NONE for Ellipsize instead of END

udg

Expert
Licensed User
Longtime User
I'm not sure to understand. Anyway, did you check "Ellipsize" in group Text properties when the lable is selected in Designer?
If that is what you need, juste select NONE for Ellipsize instead of END
 
Upvote 0
Solution

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I'm not sure to understand. Anyway, did you check "Ellipsize" in group Text properties when the lable is selected in Designer?
If that is what you need, juste select NONE for Ellipsize instead of END

Yeah, that's what I was meaning. The issue I have though is in a combo / spinner. Just checked and it has the same property but its not working.

I know I saw some JAVA code at one time that does something like that but goodness knows it might have 10 years ago. That's what was stuck in my head.

Thanks @udg
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Yeah, there is a bug in the B4XComboBox. The Ellipsize property is set to NONE, single line mode is true but we are still getting ...
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I gave a solution for a Label.
The B4XComboBox is a Spinner in B4A.
Setting Single line and Ellipsize to "NONE" in the Designer has no effect.
Sorry, but i do not know how to remove the dots in a Spinner.
I am not sure if the view in the drop down area is a Label.
In a Label there are 3 dots, in the Spinner there are only 2 !?
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I gave a solution for a Label.
The B4XComboBox is a Spinner in B4A.
Setting Single line and Ellipsize to "NONE" in the Designer has no effect.
Sorry, but i do not know how to remove the dots in a Spinner.
I am not sure if the view in the drop down area is a Label.
In a Label there are 3 dots, in the Spinner there are only 2 !?

Thanks for he help. In the end I ended up pulling out the B4XCombobox out of my project and went a different direction. In general it worked but on some phones it always displayed the 2 dots even though there seemed to be enough room.
 
Upvote 0
Top