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

Making percentWidth available in MXML context

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.12.1
    • None
    • Spark: BasicLayout

    Description

      We have a lot of dialogs with "soft" columns, meaning that the elements are ordered into a grid like structure, but interupted by full line elements like headlines and such. To enable dynamic resizeing we use percentage widths to keep the ratios correct.
      If I want to change these values I need to either manually write the new percentage value into all of the controlling elements' width parameter in the MXML code (with a high chance of error) or write alot of redundant AS4 code to set every elements percentwidth parameter in code.
      I would like to be able to just assign the value to the percentwidth parameter directly in the MXML code, enabling me to bind it directly to a variable without all of the extra AS4 code.

      (UIComponent.as - line 5330)

      Attachments

        Activity

          People

            Unassigned Unassigned
            AciDbyte Daniel Lyng Røder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: