type = fancymenu_layout

layout-meta {
  identifier = chat_options_screen
  render_custom_elements_behind_vanilla = true
}

menu_background {
  background_type = color_fancymenu
  color = #313233
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  height = 25
  stretch_x = true
  source = [source:location]fancymenu:textures/widget/header.png
}

vanilla_button {
  instance_identifier = 400974
  anchor_point = element
  anchor_point_element = 0
  width = 8
  height = 12
  x = 4
  y = 6
  backgroundnormal = [source:location]fancymenu:textures/icon/back.png
  backgroundhovered = [source:location]fancymenu:textures/icon/back_highlight.png
  label = 
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 0
  stretch_x = true
  y = 3
  interactable = false
  source = ^^^%n%**{"placeholder":"local","values":{"key":"menu.options"}}**%n%^^^
  source_mode = direct
  shadow = false
  scale = 1.5
  enable_scrolling = false
  base_color = #4c4c4c
}

vanilla_button {
  instance_identifier = 48912
  is_hidden = true
}