1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-23 12:26:14 +00:00
bedrock-samples/resource_pack/ui/gamepad_disconnected.json
Mike Ammerlaan cedc6e4171 v1.20.50.3
2023-12-05 10:02:40 -08:00

74 lines
2.3 KiB
JSON

{
"namespace": "gamepad_disconnected",
"gamepad_disconnected_modal": {
"type": "panel",
"size": "$gamepad_disconnect_screen_size",
"controls": [
{
"dialog_background_hollow_3@common.dialog_background_hollow_3": {
"size": [ "100%", "110%" ],
"controls": [
{
"control": {
"type": "image",
"texture": "textures/ui/control",
"size": [ "100% - 16px", "100%" ],
"layer": -1,
"controls": [
{
"content_panel": {
"type": "stack_panel",
"size": [ "100% - 4px", "100%" ],
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ 0, 8 ]
}
},
{
"title": {
"layer": 10,
"type": "label",
"offset": [ 0, 8 ],
"size": [ "95%", 10 ],
"color": "$title_text_color",
"shadow": false,
"text": "gamepad_disconnect"
}
},
{
"padding_1": {
"type": "panel",
"size": [ 0, 8 ]
}
},
{
"description": {
"layer": 10,
"type": "label",
"color": "$body_text_color",
"size": [ "100%", "default" ],
"text": "gamepad_disconnect.reconnectController"
}
}
]
}
}
]
}
}
]
}
}
]
},
"gamepad_disconnected_screen@common.base_screen": {
"$screen_content": "gamepad_disconnected.gamepad_disconnected_modal"
}
}