Flash Builder (Flex) - hide the user interface element

Hey, how can I hide an item in Flash Builder? I can make visible = false, but the element still exists (other buttons are not centered). I am looking for a mapping: property style.

<mx:HBox horizontalAlign="center">
   <mx:Button id="publishButton" label="Start" />
   <mx:Button label="Stop" visible="false" />
</mx:HBox>

thank!

+3
source share
1 answer

visible = "false" includeInLayout = "false", they should be used together.

+14
source

Source: https://habr.com/ru/post/1779859/


All Articles