0 Replies Latest reply on Mar 11, 2013 2:23 AM by mikko.torniainen

    Window dimensions after maximize()




      Window dimensions seem not to be what they should be after maximize.


      Take a windowedapplication with width 1280 and height 720 (or any other size as far as I can tell) and call this.stage.nativeWindow.maximize() on it. Now take a look at stage.nativeWindow.bounds.toString(). It returns something like this:


      (x=-8, y=-8, w=1936, h=1056)


      Why is the position at -8,-8 and the dimensions not same as fullscreenWidth and height (1920x1080)?


      This will cause the window to overflow to a possible extendted desktop. Is there a workaround for this?