Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34698

Flatspark ButtonIcon: Introduce 'iconFontPlacement' style

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.14.0, Apache Flex 4.15.0
    • Apache Flex 4.17.0
    • FlatSpark
    • None

    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:

      <flatspark:ButtonIcon iconFontPlacement="{IconPlacement.TOP}" iconFont="{AwesomeUtils.fa_eye}" label="testIt" height=45/>
      

      Attachments

        1. ImprovedFlatsparkButtonIconSkin.mxml
          8 kB
          Olaf Krüger
        2. ImprovedFlatsparkButtonIcon.as
          0.6 kB
          Olaf Krüger
        3. Showcase_top_right_bottom_left.png
          8 kB
          Olaf Krüger

        Activity

          People

            Unassigned Unassigned
            okrueger@edscha.com Olaf Krüger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: