When I use embedded fonts on a button the text is aligned too high. I change
the font to a normal font and it is aligned correctly again. I am trying to
achieve a fix for this because the accordion header is a subclass of the
button class and this is where I'm having a problem.
<mx:Style>
@font-face {
src: local("Serpentine");
fontFamily: menuHeaderFont;
fontWeight: bold;
}
</mx:Style>
<mx:Button label="COMPANY"
icon="@Embed('images/Checkbox.png')"
fontFamily="menuHeaderFont" fontSize="14"
leading="-2"/>
I can set the leading to -2 but this is a hack and I'm not sure what it will
break. Anyone run across this?
dorkie stumped dork from dorktown