JakeBullet70 Well-Known Member Licensed User Longtime User May 4, 2023 #1 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.
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 udg May 4, 2023 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
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 May 4, 2023 #2 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
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
JakeBullet70 Well-Known Member Licensed User Longtime User May 4, 2023 #3 udg said: 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 Click to expand... 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
udg said: 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 Click to expand... 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
klaus Expert Licensed User Longtime User May 4, 2023 #4 Use this code: B4X: Copy Private jo = Label1 As JavaObject jo.RunMethod("setSingleLine", Array As Object(True)) Upvote 0
Use this code: B4X: Copy Private jo = Label1 As JavaObject jo.RunMethod("setSingleLine", Array As Object(True))
JakeBullet70 Well-Known Member Licensed User Longtime User May 4, 2023 #5 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
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 ...
klaus Expert Licensed User Longtime User May 4, 2023 #6 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
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 !?
JakeBullet70 Well-Known Member Licensed User Longtime User May 4, 2023 #7 klaus said: 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 !? Click to expand... 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
klaus said: 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 !? Click to expand... 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.