+1

Are there any type of conditionals to detect device screen size?

sovtek 11 år siden opdateret 11 år siden 2
Any type of conditionals to detect device screen size?
A good way to do this is to build out a transparent panel or a root panel and set it to 100% width x 100% height. Then you can use object properties on panels to determine your height and width in pixels.

<alert message="[object:panelname.height][object:panelname.width]">

This would then change depending on the device you were on. You can then store then as variables or run conditional if statements depending on the values returned.

Also check out https://studio.rarewire.com/wordpress... for system wide properties for OS, Platform and orientation.

Kundesupport af UserEcho