Text aligment in labels?

hackhack

Active Member
Licensed User
Longtime User
In Labels, in the designer there is Horizontal alignment and vertical alignment - but those fields do not exists as members in the editor.

Are we supposed to set that in gravity and then OR the values from gravity to combine vertical and horizontal?
 

hackhack

Active Member
Licensed User
Longtime User
So Gravity.TOP is 48 - but setting label.gravity=48 (or label.gravity=Gravity.TOP) doesn't seem to allign the text towards the top of the label area.
 
Upvote 0
Top