typo
authoradam <adam@megacz.com>
Sun, 11 Apr 2004 20:00:10 +0000 (20:00 +0000)
committeradam <adam@megacz.com>
Sun, 11 Apr 2004 20:00:10 +0000 (20:00 +0000)
darcs-hash:20040411200010-5007d-e44c8b6cbc07399bb3a25667ac5adf97f2bec103.gz

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