2003/11/13 09:57:56
[org.ibex.core.git] / 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);