开发者

How to get the current inner window size in an Adobe AIR app?

开发者 https://www.devze.com 2023-04-07 13:05 出处:网络
I need to know the available screen space in my current AIR app, but when I use stage.nativeWindow.width and stage.nativeWindow.height, I get the size of the window including the title bar. I\'d like

I need to know the available screen space in my current AIR app, but when I use stage.nativeWindow.width and stage.nativeWindow.height, I get the size of the window including the title bar. I'd like to know the "inner size", so excluding the title bar. How do I do开发者_如何学运维 this?


Maybe stage.stageWidth and stage.stageHeight are what you are looking for ?

0

精彩评论

暂无评论...
验证码 换一张
取 消