Shouldn't it use whatever font I tell it to?

And why would it work on one instance of the same button and not another? It is 
definitely related to being on a non-deferred tab because it only happens on 
the first tab, no matter how many there are. 

Thanks,
Ben




Sent via BlackBerry by AT&T

-----Original Message-----
From: "Alex Harui" <[EMAIL PROTECTED]>

Date: Wed, 2 Apr 2008 14:52:26 
To:<[email protected]>
Subject: RE: [flexcoders] Embedded fonts + modules = weirdness


I’m not sure how modules got involved. 
  
Most buttons use bold fonts for their labels and I don’t see that fontWeight 
specified in this snippet 
  
  
 
 
----------------
 
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
ben.clinkinbeard
 Sent: Wednesday, April 02, 2008 2:21 PM
 To: [email protected]
 Subject: [flexcoders] Embedded fonts + modules = weirdness 
  
 
 
 
CSS file in main app:
 
 @font-face
 {
 src: url("assets/fonts/Gotham-Medium.otf");
 fontFamily: "GothamMedium";
 }
 Button.BlueButtonOutline
 {
 skin: Embed(skinClass="Button_BlueButtonOutline_skin");
 fontFamily: "GothamMedium";
 font-size: 14;
 color: #FFFFFF;
 text-roll-over-color: #FFFFFF;
 text-selected-color: #FFFFFF;
 }
 
 I then have a component in a module that has a child button with
 styleName="BlueButtonOutline", simple enough. That component is then a
 child of a 2 TabNavigator children. The button that is a descendant of
 the first tab has a mystery font to begin with, and then the text
 disappears completely on rollover. The button that is a descendant of
 the second tab works perfectly.
 
 What gives?
 
 Thanks,
 Ben 
                                                                                
        
------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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/

Reply via email to