flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin.godell" <kevin.god...@gmail.com>
Subject Re: Skin calloutButton callout using css
Date Sat, 07 Feb 2015 00:43:20 GMT
I have some calloutbuttons that have their callout defined in the
calloutcontent like this:

        <s:Button label="button 1"/>
        <s:Button label="button 2"/>

In my css file, I style all of the callouts like this:

s|Callout {
    skinClass : ClassReference("skins.BoxyCalloutSkin");
    backgroundColor : #FAFAFA;
    backgroundAlpha : 1.0;
    contentBackgroundColor : #FAFAFA;
    contentBackgroundAlpha : 1.0;

If you create your callout separately instead of using calloutContent, you
probably could give it an id or stylename and reference it in the css like
s|Callout#myId or s|Callout.myClass, although I never actually tried to
style only 1 callout differently than the rest.

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Skin-calloutButton-callout-using-css-tp9548p9549.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message