flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Les Woolsey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34748) Spark ActionBar chromeColor is ignored in Flex 14
Date Fri, 13 Feb 2015 17:14:11 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14320394#comment-14320394
] 

Les Woolsey commented on FLEX-34748:
------------------------------------

Very strange behavior.  I've done a bit more fooling around and it looks like its ignoring
all the styles.  I noticed that with the original code, it worked OK using the AIR simulator
- it just doesn't work on iPad.  But I also notice on the iPad that the text color was now
blue instead of white.  So I added the following styles to the main mxml file:
		@namespace s "library://ns.adobe.com/flex/spark";
		
		s|ActionBar { chromeColorx: #404040; 
			backgroundAlpha: 1.0;
			contentBackgroundColor: #404040;
			titleAlign: center;
			color: #FF0000;
		}

These had NO effect on the color or on the background on either the AIR simulator or the iPad.

In the view, I also added:
			avigator.actionBar.setStyle("chromeColor", 0x404040);
			navigator.actionBar.setStyle("color", 0xFF0000);
on the creation complete event. And still it made no difference to the text follow or the
background on either device.

Any thoughts?
Les



> Spark ActionBar chromeColor is ignored in Flex 14
> -------------------------------------------------
>
>                 Key: FLEX-34748
>                 URL: https://issues.apache.org/jira/browse/FLEX-34748
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.14.0
>         Environment: FLEX 14 AIR 16 IOS 8.1
>            Reporter: Les Woolsey
>            Assignee: OmPrakash Muppirala
>              Labels: compatibility
>             Fix For: Apache Flex 4.15.0
>
>
> In a ViewNavigatorApplication I have the following style specified:
> 		@namespace s "library://ns.adobe.com/flex/spark";
> 		
> 		s|ActionBar { chromeColor: #404040; 
> 			titleAlign: center;
> 		}
> In Fle 13.0 and earlier, this gives me a dark gray background on my app's actionbar but
in Flex 14 it gives me a white actionBar.  Can anyone provide a workaround or solution?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message