I can't seem to get this to work, can someone tell me what I'm doing 
wrong?

if (hboxHolder.getChildIndex(radarCanvas) < hboxHolder.getChildIndex
(rightLabel)) {
hboxHolder.setChildIndex(radarCanvas, 2);
hboxHolder.setChildIndex(rightLabel, 1);
}

This swaps the positions, which I don't want.  When I try this:

hboxHolder.swapChildren(radarCanvas, rightLabel);

It swaps the depth but then on resize I'm still getting the change of 
positions.

Help please...

Mark

Reply via email to