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

Setting minWidth on an app with layoutDirection="rtl" sometimes results in layout issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Mirroring
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the attached example – in standalone player or put it in a wrapper and run it on a server.

      Actual Results:
      The visual components are rendered off-screen. You have to expand the window to see the Label. It appears that you have to set minWidth to a value that is less than the application width when layoutDirection is set to RTL (in other words, if you set minWidth to, say, 200 in the attached example, then it renders fine).

      Expected Results:
      The visual components should be right aligned, but not right aligned so far that they are aligned off the screen.

      Workaround (if any):
      Do not use minWidth when using RTL.

      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: