OSDN Git Service

Version 0.6.53, fix for X.Dom.Event.BASE_FONT_RESIZED.
[pettanr/clientJs.git] / 0.6.x / js / main.js
index 6eb6d97..aa91895 100644 (file)
@@ -21,7 +21,7 @@ PageRoot(
                        bottom      : 5,\r
                        bgColor     : 0x666666,\r
                        borderColor : 0x111111,\r
-                       borderWidth : [ 0, 1, 0, 0 ],\r
+                       borderWidth : [ 0, 0, 0, 0 ],\r
                        borderStyle : 'solid dotted',\r
                        padding     : [ 2, 1.5 ],\r
                        sizing      : 'border'\r
@@ -32,8 +32,10 @@ PageRoot(
                        left        : '30%',\r
                        bgColor     : 0x999999\r
                }),\r
-               Text( 'Hello,world!' ),\r
-               Text( '----------------------------' ),\r
-               Text( 'PettanR team' )\r
+               Text( 'Hello, world!', { width : '100%' } ),\r
+               Text( '----------------------------', { width : '100%' } ),\r
+               txt = Text( 'PettanR-team. rrrrrrrrrr', { width : '100%' } )\r
        )\r
-);
\ No newline at end of file
+);\r
+\r
+_text = X.Class._getPrivate( txt );\r