--- In [email protected], "Steve Gustafson" <[EMAIL PROTECTED]> wrote: > > In the following code sample, the mx:Label rotates exactly as it should, the > text displays vertically. However in the mx:Button, the button rotates but > the text disappears. > > I have not found any work-arounds for displaying vertical buttons in > buttons, tabNavigators or tabBars. > > Any help would be appreciated.
You have to use bold fonts like verdanab.ttf for button text. > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > fontFamily="Arial"> > <mx:Style> > @font-face { > font-family: flip; > src:url("resources/verdana.ttf"); > } > .mystyle1 { > fontFamily:flip; > fontSize: 15pt; > } > </mx:Style> > <mx:Label id ="lbl1" styleName="mystyle1" text="This Rotates Fine" > rotation="90" x="100" y="100"/> > <mx:Button id="btnHistory" x="381" y="74" label="History" > styleName="mystyle1" rotation="90"/> > </mx:Application> > > > Thanks, > Steve Gustafson -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

