From: charlie Date: Wed, 24 Mar 2004 15:29:53 +0000 (+0000) Subject: UNDO: Fix for Bug 503 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=e1782beec75c1ea0b8faaa429643ed8af5034c6a UNDO: 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-6b220e3ab11a2c4b5aa8f5b0b9ad1215c2e1a432.gz --- diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index 180a652..2109cb9 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