fixed bug 543
[org.ibex.core.git] / src / org / ibex / core / Box.java
index f333abb..8cf6271 100644 (file)
@@ -848,7 +848,7 @@ public final class Box extends JSScope implements Task {
         b.clear(MOUSEINSIDE);
         deleteNode(i);
         b.parent = null;
-        RECONSTRAIN();
+        REPACK();
         putAndTriggerTrapsAndCatchExceptions("ChildChange", b);
     }
     
@@ -901,8 +901,8 @@ public final class Box extends JSScope implements Task {
             b.parent = this;
             
             // need both of these in case child was already uncalc'ed
-            b.RECONSTRAIN();
-            RECONSTRAIN();
+            b.REPACK();
+            REPACK();
             
             b.DIRTY; 
             putAndTriggerTrapsAndCatchExceptions("ChildChange", b);