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/adhoc_inprogess_screen.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

88 lines
2.1 KiB
JSON

/********************************************************
+* (c) Mojang. All rights reserved *
+* (c) Microsoft. All rights reserved. *
+*********************************************************/
{
"namespace": "adhoc_inprogress",
"title_text": {
"type": "label",
"layer": 1,
"text": "nx.adhoc.title",
"color": "$title_text_color",
"shadow": false
},
"main_panel": {
"type": "panel",
"size": "$dialog_size",
"controls": [
{
"common_panel@common.common_panel": {
"size": [ "100%", "100%" ],
"$dialog_background": "dialog_background_hollow_3"
}
},
{
"title@adhoc.title_text": {
"offset": [ 10, 9 ],
"size": [ "100%", 15 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"text": "#adhoc_title",
"bindings": [
{
"binding_name": "#adhoc_title"
}
]
}
},
{
"main_content": {
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%-21px", "100%-52px" ],
"offset": [ 10, 24 ],
"type": "label",
"layer": 1,
"text": "thirdPartyConsole.adhoc.inprogress",
"color": "$sub_header_text_color",
"shadow": false
}
},
{
"progress_loading_bars@play.progress_loading_bars": {
"offset": [ 0, 20 ],
"anchor_from": "center",
"anchor_to": "center"
}
}
]
},
// -----------------------------------------------
//
// screen
//
// -----------------------------------------------
"adhoc_inprogress_screen@common.base_screen": {
"$dialog_size": [ 200, 100 ],
"$screen_content": "adhoc_inprogress.adhoc_inprogress_screen_content"
},
"adhoc_inprogress_screen_content": {
"type": "panel",
"controls": [
{
"root_panel": {
"type": "panel",
"controls": [
{ "main_panel@adhoc_inprogress.main_panel": { "layer": 1 } }
]
}
}
]
}
}