[ 
https://issues.apache.org/jira/browse/FLEX-33998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maurice Amsellem updated FLEX-33998:
------------------------------------

    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.

{code}
<s:HGroup>
   <s:Button id="clearButton" visible="{model.canClear}" 
includeInLayout="{model.canClear}"/>
</s:HGroup>
{code}

by:

{code}
<s:HGroup>
   <s:Button id="clearButton" visibleAndIncludeInLayout="{model.canClear}" />
</s:HGroup>
{code}



  was:
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 


> visibleAndIncludeInLayout combined property would be helpful
> ------------------------------------------------------------
>
>                 Key: FLEX-33998
>                 URL: https://issues.apache.org/jira/browse/FLEX-33998
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: MXML Components
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Maurice Amsellem
>            Priority: Minor
>
> 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.
> {code}
> <s:HGroup>
>    <s:Button id="clearButton" visible="{model.canClear}" 
> includeInLayout="{model.canClear}"/>
> </s:HGroup>
> {code}
> by:
> {code}
> <s:HGroup>
>    <s:Button id="clearButton" visibleAndIncludeInLayout="{model.canClear}" />
> </s:HGroup>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to