I can’t seem to get the screen height global variable to do anything.

I need to set the screen/page height based on the number of elements I have on a page. When I add the action to set the y axis during page load, the page doesn’t do anything with the screen height variable.

IS ther something special I need to do to get the height to be adjusted dynamically?



1 answer

Hi Ed,

As shown in this page:… , there are three kinds of properties: element property, system property and user defined property.

The screen height is a system property and it is read-only, that means you can retrive its value but not able to change it. Currently there is no way change the page size during the simulation, you can consider changing the size of a scrollable container as workaround.


This question is now closed