Hi. I want the user to see the items listed as aligned to the right side (as it's RTL) when they open the combo box item list.
I've tried the following without success:
1. Setting text horizontal alignment to RIGHT in Designer.
2. Different methods in code:
I found nothing usable in CBox.cmbBox (spinner) either.
Any ideas?
I've tried the following without success:
1. Setting text horizontal alignment to RIGHT in Designer.
2. Different methods in code:
B4X:
Private CBox As B4XComboBox
'1: (app crashes)
CBox.mBase.SetTextAlignment("CENTER", "RIGHT")
'2: (app crashes)
CBox.mBase.GetView(0).SetTextAlignment("CENTER", "RIGHT")
'3: (app crashes)
Dim jo As JavaObject = CBox.mBase
jo.RunMethod("setNodeOrientation", Array("RIGHT_TO_LEFT"))
Any ideas?