X position of numeric label

I am looking to dynamically change the x position of a numeric label based on various parameters. The horizontal alignment property as documented in the manual “Determines the alignment of the label’s contents along the X axis” and is listed as an int. The options within the designer, however are “left, center, right, leading, trailing”. I can’t figure out how to adjust the x position using this property (by typing in a value as you can for a the x position of an image) or using any other property. Any insight into how this property works would be appreciated! Thank you!

Pre v7.8.1 you can use system.gui.moveComponent().

As of 7.8.1, it’s been deprecated in favor of system.gui.transform().

Works great, thanks!