X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2FBox.java;h=560e7f56afc731db9b10cf8b643873f809a6e24d;hp=9d2196d809856ee84f9c0cf48ee57c4fd9f5166d;hb=23dc91860bace0feffdb0f629997432ac2bb3406;hpb=101d92c6c35804825a28c3845d19bf653691ea45 diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index 9d2196d..560e7f5 100644 --- a/src/org/ibex/Box.java +++ b/src/org/ibex/Box.java @@ -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