flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Krüger (JIRA) <j...@apache.org>
Subject [jira] [Updated] (FLEX-34698) Flatspark ButtonIcon: Introduce 'iconFontPlacement' style
Date Fri, 19 Dec 2014 15:51:14 GMT

     [ 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)

Mime
View raw message