user1995781
user1995781

Reputation: 19463

Adobe AIR NativeWindow Inner Width & height

When calling nativeWindow.width in Adobe AIR, it returns the width of the window include the border. How can I get the inner width / height of the window?

Thank you.

Upvotes: 0

Views: 333

Answers (1)

Subash Selvaraj
Subash Selvaraj

Reputation: 3385

The innerWidth and innerHeight properties equal the stage.stageWidth and stage.stageHeight properties minus the thickness of any automatic scrollbars displayed by the window.

Check this link for more details

Upvotes: 2

Related Questions