# Changing component height on startup based up URL parameter in Perspective

**URL:** <https://forum.inductiveautomation.com/t/changing-component-height-on-startup-based-up-url-parameter-in-perspective/53924>\
**Category:** Ignition\
**Created:** [December 9, 2021, 6:24am UTC](https://forum.inductiveautomation.com/t/changing-component-height-on-startup-based-up-url-parameter-in-perspective/53924 "2021-12-09T06:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emma\_Burnett](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@Emma\_Burnett](https://forum.inductiveautomation.com/u/Emma_Burnett)\
**Post date:** [December 9, 2021, 6:24am UTC](https://forum.inductiveautomation.com/t/changing-component-height-on-startup-based-up-url-parameter-in-perspective/53924/1 "2021-12-09T06:24:02Z")

</div>

I’m trying to resize a component in a view based upon a URL parameter. Depending upon what the parameter is that is passed in on startup, i need to initialise the component to a certain height. I know there is system.gui.transform that can be used to resize things, however that is not available in perspective. I’m not sure if someone has since found a work around?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [December 9, 2021, 9:19am UTC](https://forum.inductiveautomation.com/t/changing-component-height-on-startup-based-up-url-parameter-in-perspective/53924/2 "2021-12-09T09:19:12Z")

</div>

There is the style `transform: scale()` which i guess would do the same as the transform of vision.  
But if you only want to change the height its better to just change that in the styles no? xd
