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

Olaf Krüger updated FLEX-34698:
-------------------------------
    Description: 
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}

  was:
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"/>
{code}


> Flatspark ButtonIcon: Introduce 'iconFontPlacement' style
> ---------------------------------------------------------
>
>                 Key: FLEX-34698
>                 URL: https://issues.apache.org/jira/browse/FLEX-34698
>             Project: Apache Flex
>          Issue Type: Improvement
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Olaf Krüger
>         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)

Reply via email to