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

Flatspark ButtonSkin: Icon defined by using the 'icon' style property doesn't appear

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.14.0
    • Fix Version/s: Apache Flex 4.14.0
    • Component/s: FlatSpark, Spark: Button
    • Labels:
      None
    • Environment:
      Windows 7, 64 bit, FlashBuilder 4.5

      Description

      By applying the Flatspark ButtonSkin and still define an icon the icon is not shown:
      <s:Button label="Icon Test" icon="@Embed('MyIcon.png')" skinClass="flatspark.skins.ButtonSkin" />

      I'll attach a improved ButtonSkin to fix this.

        Attachments

        1. Different_behaviour.png
          4 kB
          Olaf Krüger
        2. ImprovedFlatsparkButtonSkin.txt
          5 kB
          Olaf Krüger

          Activity

            People

            • Assignee:
              akamud Mahmoud Ali Neto
              Reporter:
              okrueger@edscha.com Olaf Krüger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: