Exactly what you are refering here as Custom compont?
is that component extending Tooltip.if so use the following syntax in
that customcomponent to change font size of tooltip label in Actionscript
this.setStyle("fontSize",12);
Gnanz.../
Satish ??? ?????? ?????? ???????? wrote:
> hi,
> seems the css wont work out in custom component. How to do the same in
> Action Script 3??
>
> Thanks
> Satish
>
> On Thu, Sep 25, 2008 at 1:47 PM, GnanaPrakasam T
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Hi Friend.
>
> You can achieve this by writing one simple style class for ToolTip.
>
> You can do it your application mxml file itself,are you can write
> it in
> external stylesheet and import it.
>
> put the below style in your mxml code, and see the change.
>
>
> <mx:Style>
> ToolTip {
> backgroundColor:#FFEA00;
> backgroundAlpha: 0.70;
> borderColor:#FFFFFF;
> borderAlpha:0.75;
> color:#000000;
> cornerRadius: 5;
> paddingLeft: 5;
> letterSpacing: 0;
> fontSize: 12;
> fontWeight: normal;
> paddingRight: 5;
> }
> </mx:Style>
>
>
> Gnanz.../
> friends wrote:
> > Hi,
> > I have a problem in increasing the font size of the text in
> a tool
> > tip.. I am new to Flex so i could not figure out this problem.. Can
> > anyone help me out in this issue??? The need for this is that if i
> > point to a button i need the enlarged text of the label in the
> > tooltip.
> >
> >
> > >
> >
>
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---