flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lyng Røder (JIRA) <j...@apache.org>
Subject [jira] [Created] (FLEX-34442) Making percentWidth available in MXML context
Date Fri, 25 Jul 2014 11:13:38 GMT
Daniel Lyng Røder created FLEX-34442:

             Summary: Making percentWidth available in MXML context
                 Key: FLEX-34442
                 URL: https://issues.apache.org/jira/browse/FLEX-34442
             Project: Apache Flex
          Issue Type: Improvement
          Components: Spark: BasicLayout
    Affects Versions: Apache Flex 4.12.1
            Reporter: Daniel Lyng Røder
            Priority: Minor

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

(UIComponent.as - line 5330)

This message was sent by Atlassian JIRA

View raw message