What's the equivalent of Css "display:none" in flex?
I tried this way,but not working:
<mx开发者_JS百科:Box includeInLayout="false" visible="false">
How to achieve the same as display:none
?
The only way to completely hide a flex component like display:none is to set the 2 properties together
- includeInLayout
- visible
Only the 2 together combined, will result in display:none.
visible=false alone will result in visibility:hidden
精彩评论