type = fancymenu_layout

layout-meta {
  identifier = experiments_screen
  render_custom_elements_behind_vanilla = true
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  stretch_x = true
  stretch_y = true
  color = #00000050
}

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

vanilla_button {
  instance_identifier = 504974
  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 = shape
  anchor_point = mid-centered
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementwidth","values":{"id":"1"}} + 8","decimal":"true"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementheight","values":{"id":"1"}} + 8","decimal":"true"}}
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementposx","values":{"id":"1"}} - 4","decimal":"true"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementposy","values":{"id":"1"}} - 4","decimal":"true"}}
  color = #2e6be5
}

element {
  instance_identifier = 1
  element_type = text_v2
  anchor_point = top-centered
  width = 320
  height = 24
  x = -163
  y = 52
  interactable = false
  source = {"placeholder":"local","values":{"key":"selectWorld.experiments.info"}}
  source_mode = direct
  shadow = false
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = 346974
  anchor_point = bottom-centered
  width = 150
  height = 30
  x = -75
  y = -35
  backgroundnormal = [source:location]fancymenu:textures/widget/green_button.png
  backgroundhovered = [source:location]fancymenu:textures/widget/green_button_highlighted.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 4
}

vanilla_button {
  instance_identifier = 46312
  is_hidden = true
}

vanilla_button {
  instance_identifier = 33563
  is_hidden = true
}