Hello,
I have a component composed of two parts, let's say two Hbox A and B in a Vbox.
On a specific call I want to:
- Hide B with B.visible = false
- setStyle("borderSkin", FooBorderOn);
The problem is that the border get drawn before the resizing of the parent Vbox happen, so i end up with a border Around the Vbox with B invisible :
.....................
. A .
. .
. .
. .
. BLANK SPACE .
.....................
I would like the border to et around the next updated size of the vbox. Is there something like "do that afer redraw" ? in flex ?
Thanks a lot