PDA

View Full Version : errorTips view


sobaka11
08-18-2006, 01:33 PM
I want to change view of my errorTips:

.errorTip {
color: #FFFFFF;
fontSize: 9;
fontWeight: "bold";
shadowColor: #000000;
borderColor: #CE2929;
borderStyle: errorTipBelow;
/* borderStyle: null;*/
paddingBottom: 4;
paddingLeft: 4;
paddingRight: 4;
paddingTop: 4;
}
</mx:Style>
errorTip = ToolTipManager.createToolTip('sfdsdsd',0,0,0);
errorTip.setStyle("styleName", "errorTip");

When I use -borderStyle: errorTipBelow;- all is ok( tip has a 'tail'). I want to make my tips be without 'tail'( normal tip). When I use -borderStyle: null;-
my tip has no color, there is only one tip-text without tip.
How is it possible to make the tip be normal(without 'tail' and with color)?

sobaka11
08-20-2006, 10:40 AM
Is it possible to make background-gradient-color and border-color for a tooltip?

glacts
08-23-2006, 09:37 PM
Yes, I do something like this:

ToolTip
{
backgroundColor: #ccd0cc;
color: #000000;
cornerRadius: 8;
fontSize: 12;
}