# X position of numeric label

**URL:** <https://forum.inductiveautomation.com/t/x-position-of-numeric-label/11515>\
**Category:** Ignition\
**Created:** [April 15, 2016, 5:25pm UTC](https://forum.inductiveautomation.com/t/x-position-of-numeric-label/11515 "2016-04-15T17:25:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kstofcho](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@Kstofcho](https://forum.inductiveautomation.com/u/Kstofcho)\
**Post date:** [April 15, 2016, 5:25pm UTC](https://forum.inductiveautomation.com/t/x-position-of-numeric-label/11515/1 "2016-04-15T17:25:25Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [April 15, 2016, 7:18pm UTC](https://forum.inductiveautomation.com/t/x-position-of-numeric-label/11515/2 "2016-04-15T19:18:41Z")

</div>

Pre v7.8.1 you can use [system.gui.moveComponent()](https://docs.inductiveautomation.com:8443/display/DOC/system.gui.moveComponent).

As of 7.8.1, it’s been deprecated in favor of [system.gui.transform()](https://docs.inductiveautomation.com:8443/display/DOC/system.gui.transform).

---

<div class="post-metadata">

**Author:** ![Kstofcho](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@Kstofcho](https://forum.inductiveautomation.com/u/Kstofcho)\
**Post date:** [April 15, 2016, 7:52pm UTC](https://forum.inductiveautomation.com/t/x-position-of-numeric-label/11515/3 "2016-04-15T19:52:14Z")

</div>

Works great, thanks!
