I have added a button to my page in Designer, it is marked as Style Custom, then in my code I am doing:
But the aligment remains centered
B4X:
Private Sub Page1_Resize(Width As Int, Height As Int)
btnCompany.CustomLabel.TextAlignment = btnCompany.CustomLabel.ALIGNMENT_LEFT
btnLocation.CustomLabel.TextAlignment = btnLocation.CustomLabel.ALIGNMENT_LEFT
End Sub
But the aligment remains centered