// Change an icon size, see if it gets properly re-sized
"RadioButton":{
- "unselectedStateImage":"{STYLE_DIR}/images/radio-button-unselected.png",
- "selectedStateImage":"{STYLE_DIR}/images/radio-button-selected.png",
- "disabledStateImage":"{STYLE_DIR}/images/radio-button-unselected-disabled.png",
- "imageLabelGap":10,
+ "unselectedVisual":
+ {
+ "visualType": "IMAGE",
+ "url": "{STYLE_DIR}/images/radio-button-unselected.png"
+ },
+ "selectedVisual":
+ {
+ "visualType": "IMAGE",
+ "url": "{STYLE_DIR}/images/radio-button-selected.png"
+ },
"label":{
"textColor": [0.1,1,1,1]
}
"progressVisual":{
"url":"{STYLE_DIR}/images/slider-skin-progress-blue.9.png"
}
+ },
+ "ImageChannelControl":
+ {
+ "enableVisibilityTransition":
+ [
+ {
+ "target":"imageVisual",
+ "property":"colorAlpha",
+ "initialValue":0,
+ "targetValue":1,
+ "animator":
+ {
+ "alphaFunction":"EASE_IN_OUT",
+ "timePeriod":
+ {
+ "duration":0.4,
+ "delay":0
+ }
+ }
+ },
+ {
+ "target":"imageVisual",
+ "property":"scale",
+ "targetValue":[1,1,1]
+ }
+ ],
+ "disableVisibilityTransition":
+ [
+ {
+ "target":"imageVisual",
+ "property":"colorAlpha",
+ "targetValue":0,
+ "animator":
+ {
+ "alphaFunction":"EASE_IN_OUT",
+ "timePeriod":
+ {
+ "duration":0.4,
+ "delay":0.2
+ }
+ }
+ },
+ {
+ "target":"imageVisual",
+ "property":"scale",
+ "targetValue":[1,1,1]
+ }
+ ]
}
}
}