I have a designer script to horizontalaly center a label.
this script works
this one does not.
I assume HorizonalCenter doesn't work the way I think it does?
Bill
this script works
B4X:
AutoScaleAll
Label1.SetLeftAndRight(0,100%X)
Label1.SetTopAndBottom(2%Y,27%Y)
Label1.TextSize = 60
this one does not.
B4X:
AutoScaleAll
Label1.HorizontalCenter = 50%x
Label1.width = 100%x
Label1.SetTopAndBottom(2%Y,27%Y)
Label1.TextSize = 60
I assume HorizonalCenter doesn't work the way I think it does?
Bill