# Vision - Dynamically Position Button

**URL:** <https://forum.inductiveautomation.com/t/vision-dynamically-position-button/85035>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 31, 2024, 5:58pm UTC](https://forum.inductiveautomation.com/t/vision-dynamically-position-button/85035 "2024-01-31T17:58:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JHortenberry](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@JHortenberry](https://forum.inductiveautomation.com/u/JHortenberry)\
**Post date:** [January 31, 2024, 5:58pm UTC](https://forum.inductiveautomation.com/t/vision-dynamically-position-button/85035/1 "2024-01-31T17:58:17Z")

</div>

Current project is using dynamically sized docked windows...  
...and depending on the size of the window, the position of the buttons need to change.

I've looked at:  
-Object Properties  
-Object Property Linking  
-Object Getters / Setters  
-PMIButton class methods

...the GET{} functionality is supported.

...but not finding anything on the SET{} functionality side.

Have I missed something?

What would your approach be to dynamically positioning a button object (PMIButton)?

Many Thanks...

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 31, 2024, 7:01pm UTC](https://forum.inductiveautomation.com/t/vision-dynamically-position-button/85035/2 "2024-01-31T19:01:50Z")

</div>

For simple movement, I'd use `system.gui.transform()`. For more complex multi-component adjustments, I'd use MigLayout in a Template Canvas.

---

<div class="post-metadata">

**Author:** ![JHortenberry](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@JHortenberry](https://forum.inductiveautomation.com/u/JHortenberry)\
**Post date:** [January 31, 2024, 7:19pm UTC](https://forum.inductiveautomation.com/t/vision-dynamically-position-button/85035/3 "2024-01-31T19:19:42Z")

</div>

Thanks Phil!
