typo
[org.ibex.core.git] / src / org / ibex / Box.java
index 9d2196d..560e7f5 100644 (file)
@@ -205,7 +205,7 @@ public final class Box extends JSScope implements Scheduler.Task {
         if (!test(REPACK)) { constrain(); return; }
         boolean haskid = false;
         for(Box child = getChild(0); child != null; child = child.nextSibling()) { haskid = true; child.pack(); }
-        if (!haskid) { clear(REPACK); return; }
+        if (!haskid) { clear(REPACK); constrain(); return; }
         int frontier_size = 0;
         //#repeat COLS/ROWS rows/cols cols/rows col/row row/col colspan/rowspan rowspan/colspan \
         //        contentheight/contentwidth contentwidth/contentheight