From: charlie Date: Wed, 24 Mar 2004 15:29:53 +0000 (+0000) Subject: Fix for Bug 503 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=1f1bf81e022398831354365d6522e92079556530 Fix for Bug 503 Fixes the loop that assigns colMaxWidth[] values to find the largest (instead of the smallest) to stop ibex from clipping boxes. To make this possible, the patch induces colMaxWidth[1..n] to 0 instead of MAX_LENGTH (as max(MAX_LENGTH,any_width) will always be MAX_LENGTH). darcs-hash:20040324152953-e3a7d-991cb92d1e65283b21fe413483f81209a552182e.gz --- diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index 2109cb9..180a652 100644 --- a/src/org/ibex/Box.java +++ b/src/org/ibex/Box.java @@ -218,7 +218,7 @@ public final class Box extends JSScope implements Scheduler.Task { private static LENGTH[] colMaxWidth = new LENGTH[65535]; private static LENGTH[] rowHeight = new LENGTH[65535]; private static LENGTH[] rowMaxHeight = new LENGTH[65535]; - static { for(int i=0; i