My app defaults to portrait, a resolution of 540x960 with 'Fit inside and adjust window size' enabled. This works perfectly, however there are some frames which require landscape. In the app, when I set a frame to be landscape (frame size adjusted to 960x540) and force landscape mode in the Android Object, the app does render landscape but the resizing no longer applies. So instead of filling the frame area based on the horizontal axis, everything is at the phones default resolution which makes it tiny.
Things i've tried:
- Setting the frame and virtual sizes after the landscape mode switch
- Used the AndroidPlus object to reset the display type to 3 (Fit inside), Refresh Display, toggled between display mode 1 and 3 to see if it forces a refresh of the scaling
- I can see by a toast message the frame resolution is correct (960x540) but the app is not resizing after switching to landscape
Does the 'Fit inside and adjust window size' calculation only apply on app startup? Or is there a way to force a resize after adjusting the app orientation?