Thanks for the suggestions.  The problem with setChildIndex() is that the 
HDividedBox is 
always drawn left-to-right with the lowest level child always on the left.  So 
as soon as you 
change the Index, the box is redrawn and your items are in reverse order.  Not 
good.  I've 
looked into extending the BoxLayout class, but the class is "private" and so 
not easily 
done.

Just seems like there should be a simple fix for this.  

--- In [email protected], "Daniel Freiman" <[EMAIL PROTECTED]> wrote:
>
> Using setChildIndex() works for me.
> 
> - Dan Freiman
> 
> On 12/11/06, Lachlan Cotter <[EMAIL PROTECTED]> wrote:
> >
> >   Perhaps there is another way to clip or mask the content without relying
> > on layering it with other components.
> >
> > Cheers,
> > Lach
> >
> >
> > On 10/12/2006, at 5:42 PM, jroblang wrote:
> >
> > Is there any way to permanently change the child order in an HDividedBox
> > so that the child
> > on the right side of the DividedBox is "behind" the child in the left
> > side. I've used the
> > swapChildAt method which works fine until you move the Divider. Upon
> > release of the
> > divider, the child order changes and the left side flips over to the right
> > side.
> >
> > The content in the right side of the Divided Box can sometimes overflow
> > and I need it to be
> > behind the left side content.
> >
> > Thanks for any suggestions.
> >
> >
> >  
> >
>


Reply via email to