Titanium Community Questions & Answer Archive

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

Glowing fonts

How can this be accomplished on a label? In webkit you would just have something like

text-shadow: 0px 0px 5px red

This doesn't work in Titanium. I have tried

text-shadow
textShadow
fontShadow

but none of them work. I want a shadow that has a blur but I'm stuck on how to do this properly. Help me please.

— asked October 30th 2010 by Andrew Flocchini
  • font
  • glow
  • label
0 Comments

1 Answer

  • You can use shadowColor and shadowOffset but you won't be able to make a glow. But only to add a shadow.

    http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Label-object

    shadowOffset receives an object - for example {x:1,y:0}

    — answered October 30th 2010 by Dan Tamas
    permalink
    0 Comments
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.