flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sugan Naicker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35045) Flatspark ButtonIcon - icon does not display
Date Mon, 21 Mar 2016 20:41:25 GMT

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

Sugan Naicker commented on FLEX-35045:
--------------------------------------

Workaround posted by Olaf :

An alternative is to use a custom skin:

<fx:Style>
	@namespace s "library://ns.adobe.com/flex/spark";
	@namespace components "flatspark.components.*";
		
	components|ButtonIcon {
		skinClass: ClassReference("ButtonIconSkinMobile");
	}
</fx:Style>

Here you could find the fixed skin:
https://gist.github.com/ok-at-github/976409e8bec4e5d05461



> Flatspark ButtonIcon - icon does not display
> --------------------------------------------
>
>                 Key: FLEX-35045
>                 URL: https://issues.apache.org/jira/browse/FLEX-35045
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlatSpark, Mobile: Button Skin
>    Affects Versions: Apache Flex 4.14.1
>         Environment: Flash Builder 4.7, Windows 8, FP20.0 AIR20.0
>            Reporter: Sugan Naicker
>
> Mobile application Flatspark ButtonIcon Issue - icon does not display
> Code below does not display the icon, displays a cross :
> <components:ButtonIcon iconFont="{AwesomeUtils.fa_info_circle}" height="{ButtonSizeEnum.Large}"
label="Icon Button"/>
> IN the same application, the TestInputIcon works (shows icon)
> <components:TextInputIcon fontSize="8" text="Mobile" iconFont="{AwesomeUtils.fa_mobile}"/>



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

Mime
View raw message