# System.gui functions vs Layout settings

**URL:** <https://forum.inductiveautomation.com/t/system-gui-functions-vs-layout-settings/3893>\
**Category:** Ignition\
**Created:** [January 20, 2012, 8:23pm UTC](https://forum.inductiveautomation.com/t/system-gui-functions-vs-layout-settings/3893 "2012-01-20T20:23:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [January 20, 2012, 8:23pm UTC](https://forum.inductiveautomation.com/t/system-gui-functions-vs-layout-settings/3893/1 "2012-01-20T20:23:56Z")

</div>

If I’m going to be moving components around with the system.gui.moveComponent and system.gui.resizeComponent what is the best layout setting? Is it possible for the two to cause conflicting behavior?

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [January 24, 2012, 11:12pm UTC](https://forum.inductiveautomation.com/t/system-gui-functions-vs-layout-settings/3893/2 "2012-01-24T23:12:04Z")

</div>

You can use any layout setting you want, but you’re probably going to be best off with using anchored top-left. This gives you the advantage of being able to get back proper coords when addressing a components x and y position in code.
