Hello,

This is something that has been beugging me for a long time ( ever
since Flex Beta 2 Beta ).

When I set a container ( lets say VBox ) to 100% width using MXML
inline than all is great.

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"; width="100%"
height="100%" creationComplete="init()">


If you set it using the setStyle("width","100%") in ActionScript 3
however:

this.setStyle("width","100%");

its as if the set style does not take effect...
My VBox remains the fixed width as it was when I original created it ...


:(


Is this a BUG ?????

Am I missing something here ?
Do we need to use StyleManager to refresh or something ...
Tried to google this with no luck !!!

Thanks in advance,

Sean.

Reply via email to