Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How To Style The ButtonBar?

$
0
0
Hi,

I'm trying to simply change the color of the skin states of the
ButtonBarButtons in the TabbedViewNavigator. It seems I can change the
chromeColor of the ButtonBar using CSS styles defined in the top level MXML,
but not the states. This is a TabbedViewNavigatorApplication with a
TabbedViewNavigator being a child of one of the Views. I want to only affect
the TabbedViewNavigator. Here is what I've tried without success:

s|TabbedViewNavigatorApplication s|View
s|TabbedViewNavigator#tabbedViewNavigator #tabBar
s|ButtonBarButton:upAndSelected,
s|TabbedViewNavigatorApplication s|View
s|TabbedViewNavigator#tabbedViewNavigator #tabBar
s|ButtonBarButton:overAndSelected,
s|TabbedViewNavigatorApplication s|View
s|TabbedViewNavigator#tabbedViewNavigator #tabBar
s|ButtonBarButton:downAndSelected,
s|TabbedViewNavigatorApplication s|View
s|TabbedViewNavigator#tabbedViewNavigator #tabBar
s|ButtonBarButton:disabledAndSelected {
chromeColor: #FFCC00;
color: #000000;

Cannot this done this way?

thx

Viewing all articles
Browse latest Browse all 5648

Trending Articles