Flex, can't custom style the tooltip

Posted by touB on Stack Overflow See other posts from Stack Overflow or by touB
Published on 2010-03-16T18:59:32Z Indexed on 2010/03/16 19:01 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

I'm having trouble changing the font size of my TextInput tooltip. The text input looks like this:

<s:TextInput id="first"
             toolTip="Hello"/>

then I create a style like this:

 <fx:Style>
  @namespace s "library://ns.adobe.com/flex/spark";
  @namespace mx "library://ns.adobe.com/flex/halo";

  mx|ToolTip {
   fontSize: 24;
  }
 </fx:Style>

but absolutely nothing happens. Any idea what I may be doing wrong?

© Stack Overflow or respective owner

Related posts about flex

Related posts about mxml