Hi. I used the following code to swith to a landscape layout or portrait layout depending on the device orientation. I duplicated the layouts to rearrange the objects for different resolutions. Layouts have _port or _land attached at the end of their name.
+ Browser: Is Portrait
+ System: Trigger once
----+ System: right(LayoutName,4) = "land"
-----> System: Set canvas size to 1080 x 1920
-----> System: Go to layout mid(LayoutName,0,len(LayoutName)-5)&"_port"
+ Browser: Is Landscape
+ System: Trigger once
----+ System: right(LayoutName,4) = "port"
-----> System: Set canvas size to 1920 x 1080
-----> System: Go to layout mid(LayoutName,0,len(LayoutName)-5)&"_land"
Switching works fine but the landscape version does not show my global UI layer with the navigation menu. The project has portrait resolution as default but when I change it to landscape the UI layer is shown in preview. But when I go back to portrait size the UI and menu layer is not visible in landscape layouts. The problem seems to affect GLOBAL layers. Any idea why this happens or how to fix this?