2002/08/16 23:33:48
[org.ibex.core.git] / src / org / xwt / builtin / splash.xwt
index 7ecd8ae..d710179 100644 (file)
@@ -34,7 +34,7 @@
                         $status.text = "Downloading: " + pct + "% [" + num + "]";
                     });
     
-                    xwt.newBox("main", function(num, den) {
+                    xwt.newBox().apply("main", function(num, den) {
                         $left.flex = 50 + 50 * (num / den);
                         $right.flex = 50 * (1.0 - num / den);
                         if ($right.flex == 0) $right.width = 0;