Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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;