Window size limit of AIR applications

While working with Oefter, I found a limit for my application :-( . My application can not be maximized more than 2880×2880 pixels. Yeah, it’s more than sufficient for a normal user, still I consider it as a limit on AIR based applications because other window applications can stretch more than this size limit (curious reader can find this link useful for knowing more on this. I never expect my application to be so big- that’s why I am happy till now, and sitting idle. To know how to produce this limit you can write the line of code shown below in your AIR application, and see the result.

  1. //put this code inside any method
  2. Alert.show(stage.nativeWindow.maxSize().toString());

Similarly to get the min size, use the below code.

  1. //put this code inside any method
  2. Alert.show(stage.nativeWindow.minSize().toString());
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>