Hi all,

I'm writing an IRC Client in Flex using the SuperTabNavigator to
manage channels and privates. Each tab contains an canvas containing
an HBox. Their which is fixed to 100%.

I noticed that if I access the hbox.width value before clicking the
tab, the value is less than the value after clicking the tab
(displaying the canvas).

Also, the canvas width is equal to 0 before the click on it.

Is there a way to force Flash to (re)size all components in a
particular tab on creation complete ? I tried the creationPolicy="all"
of the SuperTabNavigator component with no success. I'm a little bit
frustrated since the size available to show the tab content is known
when I add it :(

Note : A ResizeEvent is dispatched when I get click the first time on
the tab, but I can't use it since I made an action depending on a
child component size before selecting the tab.

Any help would be appreciated, I already post my issue to flexlib
mailing list and someone suggests me to post it here.

Thx in advance ;)
KnuX

Reply via email to