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

Olaf Krüger closed FLEX-34693.
------------------------------

> 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
>          Components: FlatSpark
>    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)

Reply via email to