2003/11/13 09:57:56
authordavid <david@xwt.org>
Fri, 30 Jan 2004 07:41:19 +0000 (07:41 +0000)
committerdavid <david@xwt.org>
Fri, 30 Jan 2004 07:41:19 +0000 (07:41 +0000)
darcs-hash:20040130074119-0c9ea-ddd7025abbce7862002e8f6c21477ff583846c26.gz

src/org/xwt/Box.java

index dce1f27..2f6a322 100644 (file)
@@ -379,8 +379,8 @@ public abstract class Box extends JSScope implements JSTrap.JSTrappable {
         case "vshrink": return B(test(VSHRINK));
         case "x": return (parent == null || !test(VISIBLE)) ? N(0) : N(x);
         case "y": return (parent == null || !test(VISIBLE)) ? N(0) : N(y);
-        case "width" return N(width);
-        case "height" return N(height);
+        case "width": return N(width);
+        case "height": return N(height);
         case "cols": return test(FIXED) == COLS ? N(cols) : N(0);
         case "rows": return test(FIXED) == ROWS ? N(rows) : N(0);
         case "colspan": return N(colspan);