Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium Desktop Questions (100% tall, right aligned app)


I've been playing with Titanium Desktop lately, and have a couple of questions I would like to ask.

What I'm trying to do is create an app that's 250 pixels wide (that parts all done). What I cant seem to figure out how to do is:

  1. Make the app right aligned to the users monitor (so it sticks to the right edge)
  2. Make the app 100% tall (taking into consideration the task bars weather the user is in OS X or Windows)

Any insight you could provide into this would be great. I've been googling and searching the forums, but cant seem to find anything (it seems that most of the Titanium development is mobile related).


— asked November 21st 2010 by Nicholas LeBlanc
  • alignment
  • desktop
  • height

1 Answer

  • Use screen.height, .availHeight, .width, .availWidth to place the window.

    — answered November 26th 2010 by Stefan Neumann
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.