You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/03/10 23:37:12 UTC
[jira] [Resolved] (FLEX-33385) titleText SkinPart in TitleBar is
NOT Required but exception is thrown if not implemented.
[ https://issues.apache.org/jira/browse/FLEX-33385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-33385.
----------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0
Fixed in 1454944. Mustella TabBar tests pass.
> titleText SkinPart in TitleBar is NOT Required but exception is thrown if not implemented.
> ------------------------------------------------------------------------------------------
>
> Key: FLEX-33385
> URL: https://issues.apache.org/jira/browse/FLEX-33385
> Project: Apache Flex
> Issue Type: Improvement
> Components: Spark: WindowedApplication
> Affects Versions: Apache Flex 4.9.0
> Reporter: Fabio Todaro
> Assignee: Justin Mclean
> Labels: easyfix
> Fix For: Apache Flex 4.10.0
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Original:
> override protected function commitProperties():void
> {
> super.commitProperties();
> if (titleChanged)
> {
>
> titleText.text = _title;
> titleChanged = false;
>
> }
> if (titleIconChanged)
> {
> if (titleIconObject)
> {
> titleIconImage.source = null;
> titleIconObject = null;
> }
>
> if (_titleIcon && titleIconImage)
> {
> titleIconObject = new _titleIcon();
> titleIconImage.source = titleIconObject;
> }
> titleIconChanged = false;
> }
>
> }
> Solution:
> override protected function commitProperties():void
> {
> super.commitProperties();
> if (titleChanged)
> {
> if(titleText)
> {
> titleText.text = _title;
> titleChanged = false;
> }
> }
> if (titleIconChanged)
> {
> if (titleIconObject)
> {
> titleIconImage.source = null;
> titleIconObject = null;
> }
>
> if (_titleIcon && titleIconImage)
> {
> titleIconObject = new _titleIcon();
> titleIconImage.source = titleIconObject;
> }
> titleIconChanged = false;
> }
>
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira