parent.dragger.apply(); parent.dragger.remove(); if(!lhs_placed) { this.lhs_placed = true; return lhs; } else if(!rhs_placed) { this.rhs_placed = true; //aSub. return rhs; } else { Debug.warn("vsplitpane only support two sub views. Placing extra subviews on the right."); return rhs; }