xwt.thread = function() {
var origin = xwt.origin;
- if (origin.substring(0, 21) == "http://launch.xwt.org")
+ if (origin.substring(0, 21) == "http://launch.xwt.org") {
origin = origin.substring(22);
+ origin = "http://" + origin.substring(origin.indexOf('/') + 1);
+ }
+ xwt.println("origin is " + origin);
xwt.loadArchive(origin, function(num, den) {
$left.flex = 50 * (num / den);
<box absolute="true" sizetoimage="true" id="inner" image="org.xwt.builtin.lithium"/>
<box/>
- <box text="Downloading user interface..." vshrink="true" hpad="30" vpad="3" id="status" textcolor="white"/>
+ <box text="Downloading user interface..." vshrink="true" hpad="4" vpad="3" id="status" textcolor="white"/>
<box hpad="4" height="10">
- <box width="25"/>
<box flex="0.0" image="org.xwt.builtin.progress" tile="true" id="left"/>
<box flex="100.0" id="right"/>
</box>