Hi All,
Just bought b4a. Quite impressed with the performance, but still very much trying to wrap my head around the syntax and where to find things.
One app that I'd like to deploy has a bunch of buttons on the screen at one time (120 or so). Think 'keyboard'.
Each key in this keyboard will have a word and a picture.
The word is fairly likely to not fit on the button. The word 'at' would fit, but the word 'industrialisation' would not. I would like to display 'indus...ation' instead (or whatever will fit). Also, I'd like it to be on one line because the picture is the main draw for the button...not the text upon it.
So, I started looking for font metrics. No immediate joy.
I found Button.textSize. I'm just guessing here as it's not explained in the manual, but it seems to be the effective point size on the given device, right?
So anyone know how to accomplish this form of shortening with B4A?
Thanks,
-Ken