So I added a rectangle to my prototype (ResolutionTest.rp) called “Test”. I then added the following to OnPageLoad and to OnWindowResize
Set text on Test to “Width: [[Window.width]]
Height: [[Window.height]]”
Move Test to ([[Window.width/2-LVAR1.width/2]],[[Window.height/2-LVAR1.height/2]])
note: LVAR1 = widget “Test”
When I run the prototype, the “Test” box show the screen width and height as 2133 and 1018, respectively. Additionally, the “Test” box is perfectly centered in the browser window.
PROBLEM: My resolution is set at 1920 x 1080.
What am I missing?
ResolutionTest.rp (45.1 KB)