OSDN Git Service

Version 0.6.46, bugfix for X.UI.
[pettanr/clientJs.git] / 0.6.x / js / main.js
index 843ba40..6eb6d97 100644 (file)
@@ -1,18 +1,17 @@
-\r
 PageRoot(\r
-       VBox({\r
-               width   : '30%',\r
-               height  : 10,\r
-               left    : '10%',\r
-               top     : 12,\r
-               bgColor : 0xcccccc\r
+       Box({\r
+               width   : '10%',\r
+               height  : '10%',\r
+               left    : 5,\r
+               top     : 1,\r
+               bgColor : 0x0000ff\r
        }),\r
-       VBox({\r
-               width       : '50%',\r
-               height      : 10,\r
-               left        : '30%',\r
-               bottom      : 12,\r
-               bgColor     : 0x999999\r
+       Box({\r
+               width       : 5,\r
+               height      : 5,\r
+               left        : '10%',\r
+               bottom      : '70%',\r
+               bgColor     : 0xff0000\r
        }),\r
        VBox(\r
                {\r
@@ -22,10 +21,19 @@ PageRoot(
                        bottom      : 5,\r
                        bgColor     : 0x666666,\r
                        borderColor : 0x111111,\r
-                       borderWidth : [ 0.5, 1, 5 ],\r
+                       borderWidth : [ 0, 1, 0, 0 ],\r
                        borderStyle : 'solid dotted',\r
+                       padding     : [ 2, 1.5 ],\r
                        sizing      : 'border'\r
                },\r
-               Text( 'Hello,world' )\r
+               Box({\r
+                       width       : '50%',\r
+                       height      : 2,\r
+                       left        : '30%',\r
+                       bgColor     : 0x999999\r
+               }),\r
+               Text( 'Hello,world!' ),\r
+               Text( '----------------------------' ),\r
+               Text( 'PettanR team' )\r
        )\r
 );
\ No newline at end of file