There is already a way to get this with a workaround with javascript
1. get and set the parameters in vars
2. notify it using the 'OsNotifyWidget' in javascript with the id of a fakenotify webblock
3. in the on notify, use notifyGetMessage()
4. assign the width/height to a variable in outsystems you wish to use it for
5. refresh the block that is to use that variable.
Would it be possible to have some kind of property that will be filled on run time with the pagewidth/pageheight? So that we can build the logic around that variable?
I used this to have a page width based Gallery structure as in the attached picture