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

[FlexJS] Style Overrides ImageButton source Att

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.7.0
    • Apache FlexJS 0.8.0
    • FlexJS
    • None

    Description

      This below code will not show the image in swf, because the style attribute overrides the source attribute.

      A woraround is to put 'backgroundImage' in style.


      <ns1:ImageButton source="assets/images/icons/align_vertical_center.png"
      click="alignContentVCenterClickHandler()">
      <ns1:style>
      <ns1:SimpleCSSStyles marginLeft="5"/>
      </ns1:style>
      </ns1:ImageButton>

      Attachments

        Activity

          People

            pete21 Piotr Zarzycki
            yishayw Yishay Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: