# Change component size

**URL:** <https://forum.inductiveautomation.com/t/change-component-size/9320>\
**Category:** Ignition\
**Created:** [November 11, 2014, 11:16pm UTC](https://forum.inductiveautomation.com/t/change-component-size/9320 "2014-11-11T23:16:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdeavers](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@rdeavers](https://forum.inductiveautomation.com/u/rdeavers)\
**Post date:** [November 11, 2014, 11:16pm UTC](https://forum.inductiveautomation.com/t/change-component-size/9320/1 "2014-11-11T23:16:23Z")

</div>

Is there a way to change the component size and location during runtime? For example, I have a text box that gets its content from a database. Sometimes there will be a lot of text. I would like to vary the text box size according to the content.

Thanks

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [November 12, 2014, 1:39am UTC](https://forum.inductiveautomation.com/t/change-component-size/9320/2 "2014-11-12T01:39:38Z")

</div>

Yes, use these functions in a Python script:

system.gui.moveComponent(component, x, y)  
system.gui.resizeComponent(component, width, height)  
system.gui.reshapeComponent(component, x, y, width, height)

Best,

---

<div class="post-metadata">

**Author:** ![rdeavers](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@rdeavers](https://forum.inductiveautomation.com/u/rdeavers)\
**Post date:** [November 12, 2014, 5:10pm UTC](https://forum.inductiveautomation.com/t/change-component-size/9320/3 "2014-11-12T17:10:40Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 22, 2019, 8:52pm UTC](https://forum.inductiveautomation.com/t/change-component-size/9320/4 "2019-05-22T20:52:48Z")

</div>

> [@nmudge](#):
>
> system.gui.moveComponent(component, x, y)  
> system.gui.resizeComponent(component, width, height)  
> system.gui.reshapeComponent(component, x, y, width, height)

Why aren't these functions in the user manual? Are there other functions that are not in the user manual? Would love to know where to find a complete list...

---

<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:** [May 22, 2019, 8:54pm UTC](https://forum.inductiveautomation.com/t/change-component-size/9320/5 "2019-05-22T20:54:45Z")

</div>

> [@dion.botha](#):
>
> Why aren’t these functions in the user manual?

They are deprecated and still exist only for backward compatibility. All of their functionality is available in [system.gui.transform()](https://docs.inductiveautomation.com/display/DOC79/system.gui.transform).
