# Dynamically resize and placing compnents at runtime

**URL:** <https://forum.inductiveautomation.com/t/dynamically-resize-and-placing-compnents-at-runtime/716>\
**Category:** Archived Topics\
**Created:** [July 2, 2008, 9:49pm UTC](https://forum.inductiveautomation.com/t/dynamically-resize-and-placing-compnents-at-runtime/716 "2008-07-02T21:49:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [July 2, 2008, 9:49pm UTC](https://forum.inductiveautomation.com/t/dynamically-resize-and-placing-compnents-at-runtime/716/1 "2008-07-02T21:49:44Z")

</div>

Hey Guys.

I have developed a function that will dynamically resize and move components on a screen at runtime. I often find there simply isnt enough screen space to adequately fit all the compenents I desire at one time. Using this script, you can quicly create a screen that can “open” and "close un-needed components.

Video coming shortly

[Test Window.fwin](https://us1.discourse-cdn.com/inductiveautomation/original/1X/dcba34a25b183fc12c4025d7ee34f0da04a3fe3f.fwin) (49.7 KB)  
[layout.py](https://us1.discourse-cdn.com/inductiveautomation/original/1X/a990b7b1a64ad5cfdb76a5f5253f300deb1e6ff4.py) (1.71 KB)

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [November 15, 2017, 11:49pm UTC](https://forum.inductiveautomation.com/t/dynamically-resize-and-placing-compnents-at-runtime/716/2 "2017-11-15T23:49:16Z")

</div>

The link is broke. Can you post again?
