/********************************************************
*   (c) Mojang. All rights reserved                      *
*   (c) Microsoft. All rights reserved.                  *
*********************************************************/
{
  "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"
  }
}