{
"type": "Container",
"x": {
"dynamic": true,
"default": 0,
"Portrait": 0
},
"y": {
"dynamic": true,
"default": -214,
"Portrait": -214
},
"children": [{
"type": "ToggleButton",
"id": "autoplayDecrease",
"atlas": "interface.json",
"textures": ["Checkbox_on_off_normal.png", "Checkbox_on_off_normal.png", "Checkbox_on_off_down.png", "Checkbox_on_off_down.png"],
"anchorAlign": "r",
"onToggle": "setLossLimit",
"onPressSound": "FXButtonClick1"
},{
"type": "Text",
"padding": 20,
"text": "@translate.AUTOPLAY_LOSS_LIMIT",
"x": 6,
"font": "BrandonGrotesqueBlack",
"size": 42,
"wordWrap": true,
"wordWrapWidth": 550,
"wordWrapAlign": "left",
"wordWrapLineHeight": 45,
"fill": "#ffffff",
"anchorAlign": "l"
}
,{
"type": "Container",
"y": 101,
"x": 40,
"children": [{
"type": "RadioButtonsContainer",
"id": "possibleLossLimitValues",
"onRadioSelected": "setWinDecreaseThreshold",
"selectedButtonValue": "@model.autoplay.winDecreaseThreshold",
"buttonsValues": "@iface.scope.config.poker.autoplayLossLimitOptions",
"dynamicLayout": {
"itemsPerRow": 6,
"xOffset": 230,
"yOffset": 152
},
"align": "tl",
"button": {
"type": "ToggleButton",
"scale": 0.9,
"atlas": "interface.json",
"textures": ["field_small_normal.png", "field_small_normal.png", "field_small_down.png", "field_small_down.png"],
"onPressSound": "FXButtonClick1",
"text": {
"type": "Text",
"autoUpdate": "betChange",
"text": "@util.mul.@model.value,@game.getTotalBet",
"padding": 20,
"maxWidth": 200,
"isCurrency": true,
"showCurrencySign": false,
"decimals": 2,
"maxWidth": 190,
"font": "BrandonGrotesqueBlack",
"toggleOn": {
"fill": "#000000"
},
"fill": "#FFFFFF",
"thickness": 0,
"size": 51,
"anchorAlign": "c"
}
}
}]
}]
}