Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Apache Flex 4.11.0
-
None
-
None
Description
To show/hide a component inside a Group in MXML, you need to set both visible and includeInLayout properties, through bindings.
It would be convenient (and probably faster) to have a combined visibleAndIncludeInLayout to set both properties at once.
<s:HGroup> <s:Button id="clearButton" visible="{model.canClear}" includeInLayout="{model.canClear}"/> </s:HGroup>
by:
<s:HGroup> <s:Button id="clearButton" visibleAndIncludeInLayout="{model.canClear}" /> </s:HGroup>
Attachments
Issue Links
- is duplicated by
-
FLEX-34725 visibleAndInLayout
- Open