# Dynamic container adjustments

**URL:** <https://forum.inductiveautomation.com/t/dynamic-container-adjustments/20469>\
**Category:** Ignition\
**Created:** [October 31, 2018, 6:11pm UTC](https://forum.inductiveautomation.com/t/dynamic-container-adjustments/20469 "2018-10-31T18:11:41Z")\
**Posts on this page:** 1\
**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:** [October 31, 2018, 6:11pm UTC](https://forum.inductiveautomation.com/t/dynamic-container-adjustments/20469/1 "2018-10-31T18:11:42Z")

</div>

Hello, I am looking for help determining how to make a window have adjustable containers. Ideally, I’d love for the user to just be able to grab the side and adjust but since that doesn’t seem to be an option I am looking at creating a button of some sort to collapse and expand different containers.

I have a search window which displays two trees of an inventory item’s parents and children and some basic details. I’d like to create a button to expand the two trees and shrink the details or vice versa.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/26324dd5ad3696f65021b17d116c81cde6444ce8.PNG)  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/485990d4045ece42ff8017ecf3c4ee2720e25bef.PNG) ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/274e83b4280c82d7fbd0038bd1d6e2f4d7e11d0a.PNG)

I’ve messed around with system.gui.transform to alter the container widths and x locations but I’m wondering what the simplest, least messy option is. I have some buttons in the container trees (not shown) for export and expanding/collapsing tree nodes so I’m wondering if I need to also adjust the widths and locations of all the components in the containers.

Any ideas?

Thanks!
