I figured out my issue... I needed to add my ControlBar to the panel 
in the "initialize" event handler not the creation complete.

Not sure exactly why but when i add the control bar in the initialize 
event handler it correctly positions the control bar to the bottom of 
my panel.

--Soctt

--- In flexcoders@yahoogroups.com, "scott_flex" <[EMAIL PROTECTED]> wrote:
>
> 
> This should be simple but i'm fighting the position of a ControlBar 
> that's on a Panel control when add via actionscript, not mxml.
> 
> The control bar is not correctly displayed at the bottom of the 
panel.  
> IE... if the other child components cause the scroll bars to 
appear, I 
> have to scroll to view the control bar as well... it should be 
always 
> visible and stationary.
> 
> This works properly if i add the control bar in with mxml as the 
last 
> element but not when using actionscript... even if i add it via 
> actionscript in the creationComplete of the panel  to ensure it's 
the 
> last child added.
> 
> 
> --Scott
>


Reply via email to