*/
{
"stage": [
- // A TextView with a red background
+ // A TextLabel with a red background
{
- "type": "TextView",
+ "type": "TextLabel",
"text": "Hello World",
"parent-origin": "TOP_CENTER",
"anchor-point": "TOP_CENTER",
// A container with a yellow background
{
"type": "Control",
+ "relayout-enabled": false,
"parent-origin": "CENTER",
"anchor-point": "BOTTOM_CENTER",
"background-color": [1, 1, 0, 1],
// A container with an image
{
"type": "Control",
+ "relayout-enabled": false,
"parent-origin": "CENTER",
"anchor-point": "TOP_CENTER",
"size": [400, 150, 1],
// A container with the same image blended in with a blue background
{
"type": "Control",
+ "relayout-enabled": false,
"parent-origin": "BOTTOM_CENTER",
"anchor-point": "BOTTOM_CENTER",
"size": [400, 150, 1],