Android Question How to calculate the length of the string?

chuck3e

Active Member
Licensed User
Longtime User
How can this be used to set the length of its view in B4a?

I have text in 2 labels that fit the labels just fine and the text is butted together when a phone is set to large font size but when someone uses small font size the the view width doesn't change to match the small text length and I get a large gap between text1 and text2.
 
Last edited:
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
 
Upvote 0
Top