开发者

Dock Titanium Desktop Application to the Right

开发者 https://www.devze.com 2023-01-29 17:41 出处:网络
I have decided to switch from Adobe Air to Titanium Desktop for building applications. Their is no argument why I have :)

I have decided to switch from Adobe Air to Titanium Desktop for building applications. Their is no argument why I have :)

Ok, to my issue. I need to align my application to the right side of the monitor on launch. The problem is, everyone has different screen resolutions so there is no way of setting the X and Y coordinates at the start. So what I need to do is find out the screen size of the person's screen and minus the app's width. That way I can provide an X coordinate via Javascript upon the application opening.

Does anyone have any idea at all how I 开发者_开发百科can do that?

0

精彩评论

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