开发者

flex css transparency

开发者 https://www.devze.com 2022-12-21 02:02 出处:网络
I\'m trying to make the background of all tabs from a TabNavigator completely transparent (via CSS), but somehow I can\'t get this done correctly.

I'm trying to make the background of all tabs from a TabNavigator completely transparent (via CSS), but somehow I can't get this done correctly.

This is what I've got so far:

TabNavigator
{
    tabStyleName: "tabNavTab";
    fillAlphas: 0, 0, 0, 0;
    backgroundAlpha: 0;
    focusAlpha: 0;
    bor开发者_C百科derStyle: none;
}
.tabNavTab
{
    fillAlphas: 0, 0, 0, 0;
    backgroundAlpha: 0;
    borderStyle: none;
    focusAlpha: 0;
}

But the tabs still have borders and the inactive tabs still have a tiny gradient from white to transparent.

What am I missing?

edit:

I got it. I have to set the upSkin, downSkin... properties, too!


I always recommend the use of the style explorer:

http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html

Helps me with almost all of my CSS issues.

0

精彩评论

暂无评论...
验证码 换一张
取 消