-\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
bottom : 5,\r
bgColor : 0x666666,\r
borderColor : 0x111111,\r
- borderWidth : [ 0.5, 1, 5 ],\r
+ borderWidth : [ 0, 0, 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!', { 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