B4J Question [B4X] Need to get text width - B4X solution

MrKim

Well-Known Member
Licensed User
Longtime User
OK, I have spent 3 days looking for a solution and then trying to write one in java, but it is just beyond my capabilities.
I need to get the width of text B4A/i/J. The reason is I want to use B4XComboBox but I need to show multiple fields in each row lined up in columns. To do that I need the text width so I can pad it to the next column. I know the other possibility is to use a text box/label and a CLV for the dropdown but I will be doing this a lot and managing all this with multiple controls would be a pain.
Need to do this:
1675599404530.png
 

Alexander Stolte

Expert
Licensed User
Longtime User
 
Upvote 0
Top