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 code. 

(UIComponent.as - line 5330)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to