incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curtis Aube (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33204) Interface between VGroup, VerticalLayout, HGroup, HorizontalLayout
Date Wed, 19 Sep 2012 18:12:07 GMT
Curtis Aube created FLEX-33204:
----------------------------------

             Summary: Interface between VGroup, VerticalLayout, HGroup, HorizontalLayout
                 Key: FLEX-33204
                 URL: https://issues.apache.org/jira/browse/FLEX-33204
             Project: Apache Flex
          Issue Type: Improvement
          Components: Spark: HorizontalLayout, Spark: VerticalLayout
            Reporter: Curtis Aube
            Priority: Minor


It would be nice to be able to do something like:
(myContainer as IDirectionalLayout).gap = 4;

Currently it looks like:
if(myContainer is VGroup)
  (myContainer as VGroup).gap = 4;
if(myContainer is HGroup)
  (myContainer as HGroup).gap = 4;
or:
myContainer["gap"] = 4;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message