Search code examples
mobiletitaniumappceleratorappcelerator-mobile

What unit of measurement is Titanium Mobiles "font-size"?


Trying to find what unit of measurement Titanium uses for defining the font size in mobile applications. Want to match it up to Photoshop for mockup purposes.


Solution

  • Its in pixels, but don't forget your photoshop mockups need to be double the size for the retina display.

    So your mockup would be font-size 24px and in Titanium you would specify 12px.