You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mahmoud Ali (JIRA)" <ji...@apache.org> on 2014/12/19 10:52:13 UTC

[jira] [Resolved] (FLEX-34693) Flatspark ButtonIcon: Introduce property 'iconFontSize' to set icon size directly

     [ https://issues.apache.org/jira/browse/FLEX-34693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahmoud Ali resolved FLEX-34693.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Apache Flex 4.14.0

> Flatspark ButtonIcon: Introduce property 'iconFontSize' to set icon size directly
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-34693
>                 URL: https://issues.apache.org/jira/browse/FLEX-34693
>             Project: Apache Flex
>          Issue Type: Improvement
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Olaf Krüger
>            Assignee: Mahmoud Ali
>            Priority: Minor
>             Fix For: Apache Flex 4.14.0
>
>         Attachments: ButtonIconImproved.as, ButtonIconSkinImproved.mxml, DifferentIconSizes_24_36_48.png
>
>
> From my point of view the power of vector icons is to simply get them in various sizes.
> Currently the possible sizes are hardcoded so we have to modify the ButtonIconSkin to get custom sizes.
> Much more comfortable would be to access a new property 'iconFontSize' directly:
> {code:title=mxml:|borderStyle=solid}
> <ButtonIcon label="Show" iconFontSize="36" iconFont="{AwesomeUtils.fa_eye}" skinClass="ButtonIconSkin" />
> {code}
> I'll attach the improved files that provide this feature.



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