You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Olaf Krüger (JIRA)" <ji...@apache.org> on 2016/03/14 14:15:33 UTC
[jira] [Commented] (FLEX-34698) Flatspark ButtonIcon: Introduce
'iconFontPlacement' style
[ https://issues.apache.org/jira/browse/FLEX-34698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193262#comment-15193262 ]
Olaf Krüger commented on FLEX-34698:
------------------------------------
Using this Skin there's no need to introduce the new style "iconFontPlacement":
https://gist.github.com/ok-at-github/0b8a1b7c368af4e43f6f
> Flatspark ButtonIcon: Introduce 'iconFontPlacement' style
> ---------------------------------------------------------
>
> Key: FLEX-34698
> URL: https://issues.apache.org/jira/browse/FLEX-34698
> Project: Apache Flex
> Issue Type: Improvement
> Components: FlatSpark
> Affects Versions: Apache Flex 4.14.0, Apache Flex 4.15.0
> Reporter: Olaf Krüger
> Fix For: Apache Flex 4.16.0
>
> Attachments: ImprovedFlatsparkButtonIcon.as, ImprovedFlatsparkButtonIconSkin.mxml, Showcase_top_right_bottom_left.png
>
>
> To get a similar behaviour as the <s:Button> we should provide the very useful 'iconPlacement' style in Flatsparks ButtonIcon.
> I'll attach an working implementation where this feature is named as 'iconFontPlacement'.
> Maybe my implementation is not the best way to do this...
> This is how you would use it:
> {code}
> <flatspark:ButtonIcon iconFontPlacement="{IconPlacement.TOP}" iconFont="{AwesomeUtils.fa_eye}" label="testIt" height=45/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)