{
  "namespace": "update_version",

  "update_version_screen@common.modal_screen": {
    "$screen_content": "update_version.update_version_popup",
    "force_render_below": true,
    "$screen_background_control": "coin_purchase.background"
  },

  "update_version_popup@common_dialogs.main_panel_one_button": {
    "size": [ "80%", "60%" ],
    "$text_name": "#update_screen_title",
    "$show_close_button": true,
    "$child_control": "update_version.update_version_content",
    "$button_panel": "update_version.update_button",
    "$title_text_binding_type": "global",
    "$fill_alpha": 1
  },

  "background@common.screen_background": {
    "alpha": 0.65,
    "layer": 1
  },

  "update_version_content": {
    "type": "stack_panel",
    "size": [ "100% - 2px", "100% - 2px" ],
    "offset": [ 1, 1 ],
    "controls": [
      {
        "top_of_version_panel@update_version.picture_and_patch_notes": {}
      },
      {
        "spacer_1px": {
          "type": "panel",
          "size": [ "100%", "1px" ]
        }
      },
      {
        "update_body_text@update_version.update_body_text": {}
      },
      {
        "spacer_1px_2": {
          "type": "panel",
          "size": [ "100%", "1px" ]
        }
      }
    ]
  },

  "patch_notes_panel": {
    "type": "image",
    "size": [ "100%", "100%" ],
    "texture": "textures/ui/panel_outline",
    "controls": [
      {
        "patch_notes_text@common.scrolling_panel": {
          "offset": [ 0, 1 ],
          "$scrolling_pane_size": [ "100%-1px", "100%-2px" ],
          "$scrolling_content": "update_version.patch_notes",
          "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ],
          "$scroll_view_port_size_touch": [ "100% - 4px", "100% - 4px" ],
          "$scroll_view_port_offset": [ 2, 2 ],
          "$scroll_view_port_offset_touch": [ 2, 2 ],
          "$scroll_size": [ 5, "100%-2px" ],
          "$scroll_size_touch": [ 5, "100%-2px" ],
          "$background_size": [ "100%", "100%" ],
          "$background_size_touch": [ "100%", "100%" ],
          "$show_background": true,
          "$scroll_bar_contained": true,
          "$scroll_bar_contained_touch": true

        }
      }
    ]
  },

  "picture_and_patch_notes": {
    "type": "stack_panel",
    "orientation": "horizontal",
    "size": [ "100% - 2px", "fill" ],
    "offset": [ 1, 1 ],
    "controls": [
      {
        "patch_notes_image_outline": {
          "size": [ "100%c + 2px", "100%" ],
          "type": "image",
          "texture": "textures/ui/panel_outline",
          "controls": [
            {
              "patch_notes_image": {
                "size": [ "137%y", "100% - 2px" ],
                "type": "image",
                "texture": "textures/ui/storexblsignin"
              }
            }
          ]
        }
      },
      {
        "patch_notes_panel@update_version.patch_notes_panel": {
          "size": [ "fill", "100%" ]
        }
      }
    ]
  },

  "patch_notes": {
    "type": "panel",
    "size": [ "100%", "100%c" ],
    "controls": [
      {
        "patch_notes_text": {
          "type": "label",
          "offset": [ 1, 0 ],
          "size": [ "100%", "default" ],
          "color": "$body_text_color",
          "layer": 3,
          "text": "#update_screen_patch_notes",
          "bindings": [
            {
              "binding_name": "#update_screen_patch_notes"
            }
          ]
        }
      }
    ]
  },

  "update_body_text": {
    "type": "label",
    "size": [ "100%", "default" ],
    "text": "#update_screen_description",
    "color": "$body_text_color",
    "bindings": [
      {
        "binding_name": "#update_screen_description"
      }
    ]
  },

  "update_button@common_buttons.light_text_button": {
    "$pressed_button_name": "button.update",
    "$button_text": "updateScreen.update"
  }

}
