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

[Mirroring] MX and Spark controls arent hinting a layoutDirection style

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • Adobe Flex SDK 4.5 (Release)
    • None
    • Mirroring
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.5.0.14142.

      Steps to reproduce:
      1. Copy and paste the attached MXML file into a new Builder project.
      2. You dont get any code hints for layoutDirection being a style, making it a bit tricky in CSS since you cant use code completion.

      Actual Results:
      The layoutDirection property/style isnt hinted as a style. This means that when trying to style an Alert, it isnt immediately obvious how you can do that w/ CSS. It should hint "layoutDirection" or more probably "layout-direction".

      Expected Results:
      CSS hints.

      Workaround (if any):
      Set it in CSS regardless of hinting.
      Set the layoutDirection property on the Alert by using something like this:

      var a:Alert = Alert.show("Lorem ipsum dolor sit amet, consectetur adipiscing elit.", "Alert title", Alert.OK|Alert.CANCEL);
      a.status = "foo";
      a.layoutDirection = "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: