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

[Mirroring] set styleName with layoutDirection/direction doesn't work for window

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Window
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. compile and run test app
      2. click "create rtl window" and "create ltr window" button
      ->two windows show up with rtl and ltr layout.
      3. click "window level: stylename==>ltr" and ""window level: stylename==>rtl" button, it is supposed to set layoutDirection for the windows created at step 2.
      ->elements inside windows only has colors style applied, but no layoutDirection/direction.
      4. click "application level: stylename==>ltr" and ""application level: stylename==>rtl"
      ->elements are moved based on layout.

      so it seems style defined inside <fx:Style>, like this:

      .testStyleName
      {
      layoutDirection:"ltr";
      direction:"ltr";
      }
      doesn't work for window.

      Expected Results:
      styleName should work for window for above cases.

      Workaround (if any):
      use setStyle() instead.

      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: