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 2014/12/18 12:56:13 UTC

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

Olaf Krüger created FLEX-34693:
----------------------------------

             Summary: 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
            Priority: Minor


>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:
<ButtonIcon label="Show" iconFontSize="36" iconFont="{AwesomeUtils.fa_eye}" skinClass="ButtonIconSkin" />

I'll attach the improved files that provide this feature.



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