# System.gui.transform and Layout

**URL:** <https://forum.inductiveautomation.com/t/system-gui-transform-and-layout/11376>\
**Category:** Ignition\
**Created:** [March 17, 2016, 1:01pm UTC](https://forum.inductiveautomation.com/t/system-gui-transform-and-layout/11376 "2016-03-17T13:01:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [March 17, 2016, 1:01pm UTC](https://forum.inductiveautomation.com/t/system-gui-transform-and-layout/11376/1 "2016-03-17T13:01:27Z")

</div>

Hello,

I’m using the new (awesome) system.gui.transform() function to resize a container. The problem I meet is that the contained components are not correctly resized. More precisely, they seem to be resized as if their layout was set to “Relative” even if it is actually set to “Anchored”.  
When minimized, the margins of the internal components are reduced instead of beeing unmodified.

Is it possible to keep the margins untouched during the tranform process ?

Notes :  
[ul]  
[li]The container layout is set to relative[/li]  
[li]The components inside the container are anchored[/li][/ul]

Ignition 7.8.1  
Gateway OS : Linux  
Designer / Client OS : Windows 10

Thank you.
