iOS Question B4XComboBox Text alignment

mcorbeel

Active Member
Licensed User
Longtime User
I am using the B4XComboBox but the text setting in the designer don't have effect on the result. I read somewhere that this is normal. I would like to set the text alignment to LEFT (default is CENTER). I read somewhere that this can be achieved with ActionSheets, but I hope there is a workaround? I previously had a similar issue with the text color and could solve this by using:
B4X: Copy
Dim no As NativeObject = cmb.mBtn
    no.RunMethod("setTitleColor:forState:", Array(no.ColorToUIColor(Colors.Black), 0))
Is there a similar method I can use to set the text alignment?
 
Back
Top