Files
cocos4/test/visual-tests/res/ccs-res/cocosui/CocoGUI_PageView_Sample.json
T

49 lines
1.1 KiB
JSON

{
"version" : 1.0,
"textures" : [],
"designWidth" : 480.0,
"designHeight" : 320.0,
"widgetTree" : {
"classname" : "Panel",
"options" :
{
"width" : 480,
"height" : 320,
"name" : "panel"
},
"children" :
[
{
"classname" : "PageView",
"options" :
{
"x" : 140,
"y" : 80,
"width" : 240,
"height" : 160,
"backGroundScale9Enable" : false,
"clipAble" : true,
"touchAble" : true,
"backGroundImage" : "HelloWorld.png",
"name" : "pageview"
},
"children" :[]
},
{
"classname" : "Button",
"options" :
{
"x" : 430,
"y" : 40,
"touchAble" : true,
"touchSacleEnable" : true,
"name" : "exitbutton",
"normal" : "UIRES/CloseNormal.png",
"pressed" : "UIRES/CloseSelected.png"
},
"children" :[]
}
]
}
}