{
  "namespace": "gathering_info",

  "gathering_info_screen@common.base_screen": {
    "button_mappings": [
      {
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.menu_exit",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      }
    ],

    "$screen_content": "gathering_info.info_content",
    "$is_full_screen_layout": true
  },

  "info_content": {
    "type": "panel",
    "controls": [
      {
        "header@common.fullscreen_header": {
          "$back_button_has_title": true,
          "$button_text": "#header_text",
          "$button_text_binding_type": "global"
        }
      },
      {
        "left_panel": {
          "type": "panel",
          "size": [ "40%", "100% - 22px" ],
          "offset": [ 0, 22 ],
          "anchor_to": "top_left",
          "anchor_from": "top_left",
          "controls": [
            {
              "stack": {
                "type": "stack_panel",
                "orientation": "vertical",
                "size": [ "100% - 18px", "100%" ],
                "controls": [
                  {
                    "pad_1@common.empty_panel": {
                      "size": [ "100%", 4 ]
                    }
                  },
                  {
                    "event_image": {
                      "type": "image",
                      "size": [ "100%", "77%x" ],
                      "bindings": [
                        {
                          "binding_name": "#event_image",
                          "binding_name_override": "#texture"
                        }
                      ]
                    }
                  },
                  {
                    "pad_2@common.empty_panel": {
                      "size": [ "100%", 8 ]
                    }
                  },
                  {
                    "button_and_caption": {
                      "type": "panel",
                      "size": [ "100%", 28 ],
                      "controls": [
                        {
                          "caption@start.gathering_caption": {
                            "anchor_to": "top_left",
                            "anchor_from": "top_left",
                            "offset": [ 8, -19 ],
                            "layer": 20
                          }
                        },
                        {
                          "action_button@common_buttons.light_text_button": {
                            "size": [ "100%", 28 ],
                            "$pressed_button_name": "button.action",
                            "$button_text": "#action_button_text",
                            "$button_text_binding_type": "global",
                            "bindings": [
                              {
                                "binding_name": "#action_button_enabled",
                                "binding_name_override": "#enabled"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "pad_3@common.empty_panel": {
                      "size": [ "100%", 4 ]
                    }
                  },
                  {
                    "info_button@common_buttons.light_text_button": {
                      "size": [ "100%", 28 ],
                      "$pressed_button_name": "button.info",
                      "$button_text": "#info_button_text",
                      "$button_text_binding_type": "global"
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "section_divider@gathering_info.section_divider": {}
      },
      {
        "right_panel": {
          "type": "panel",
          "size": [ "60% - 4px", "100% - 23px" ],
          "offset": [ 0, 23 ],
          "anchor_to": "top_right",
          "anchor_from": "top_right",
          "controls": [
            {
              "scroll@common.scrolling_panel": {
                "$scrolling_content": "gathering_info.right_panel_content",
                "$scrolling_content_anchor_from": "top_middle",
                "$scrolling_content_anchor_to": "top_middle",
                "$show_background": false
              }
            }
          ]
        }
      }
    ]
  },

  "right_panel_content": {
    "type": "stack_panel",
    "size": [ "100% - 24px", "100%c" ],
    "orientation": "vertical",
    "use_child_anchors": true,
    "controls": [
      {
        "title": {
          "type": "label",
          "text": "#title_text",
          "font_type": "MinecraftTen",
          "anchor_to": "top_left",
          "anchor_from": "top_left",
          "color": "$body_text_color",
          "bindings": [
            {
              "binding_name": "#title_text"
            }
          ]
        }
      },
      {
        "pad_1@common.empty_panel": {
          "size": [ "100%", 4 ]
        }
      },
      {
        "body": {
          "type": "label",
          "text": "#body_text",
          "size": [ "100%", "default" ],
          "anchor_to": "top_left",
          "anchor_from": "top_left",
          "color": "$body_text_color",
          "bindings": [
            {
              "binding_name": "#body_text"
            }
          ]
        }
      },
      {
        "pad_2@common.empty_panel": {
          "size": [ "100%", 20 ]
        }
      },
      {
        "body_image": {
          "type": "image",
          "texture": "#body_image",
          "size": [ "100% - 40px", "77%x" ],
          "anchor_to": "top_middle",
          "anchor_from": "top_middle",
          "bindings": [
            {
              "binding_name": "#body_image",
              "binding_name_override": "#texture"
            }
          ]
        }
      }
    ]
  },

  "section_divider": {
    "type": "image",
    "offset": [ "40%", "20px" ],
    "size": [ "4px", "100% - 18px" ],
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "layer": 3,
    "texture": "textures/ui/HowToPlayDivider"
  }
}
