Changing component height on startup based up URL parameter in Perspective

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?

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