javascript - Titanium Desktop - Get Menubar icon Position -


i trying create app main window shown when menubar icon clicked. have create menubar icon can't figure out how position window underneath it. there way x position?

this javascript menubar icon:

var win = titanium.ui.getcurrentwindow();  var tray = titanium.ui.addtray(     "app://images/menubar.png",     function(){ win.show(); } ); 

this shows window when menubar icon clicked, shows in center of screen.


Comments

Popular posts from this blog

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -