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

Image in a VBox does not scale to percentwidth when explicit height is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:

      1. Compile and run the attached bugfile
      Here the VBox and the enclosed image have explicit height with width being 100%. The image instead of scaling width, simply moves to the left align

      Expected Results: Image should occupy the entire width of the VBox and the height should be as defined.

      USECASE: Just a use case to support this strange thing. I have an AdvancedDataGrid and am trying to set an image and the corresponding image name as the label to the itemrenderer of the ADG cells. So the image height is defined as it has to give space for the label too while width has to be 100% to span the entire cell width

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: