type = fancymenu_layout

layout-meta {
  identifier = edit_world_screen
  render_custom_elements_behind_vanilla = true
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 0
  width = 215
  height = 38
  x = 4
  y = 11
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = mid-centered
  width = 223
  height = 53
  x = -111
  y = -99
  source = [source:local]/config/fancymenu/assets/bg/command.png
  nine_slice_texture = true
  nine_slice_texture_border_x = 8
  nine_slice_texture_border_y = 15
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 0
  width = 110
  height = 14
  x = 3
  y = 2
  source = {"placeholder":"local","values":{"key":"mco.configure.world.edit.slot.name"}}
  source_mode = direct
  shadow = false
  scale = 1.0
  base_color = #464546
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = 400497
  anchor_point = mid-centered
  width = 120
  height = 30
  x = -190
  y = 42
}

vanilla_button {
  instance_identifier = 400597
  anchor_point = mid-centered
  width = 223
  height = 30
  x = -111
  y = -38
}

vanilla_button {
  instance_identifier = 400447
  anchor_point = mid-centered
  width = 120
  height = 30
  x = 70
  y = 42
}

vanilla_button {
  instance_identifier = 502597
  anchor_point = element
  anchor_point_element = 0
  width = 5
  height = 5
  x = 212
  y = 6
  backgroundnormal = [source:local]/config/fancymenu/assets/icons/close.png
  backgroundhovered = [source:local]/config/fancymenu/assets/icons/close_highlighted.png
  label = 
}

vanilla_button {
  instance_identifier = 400522
  anchor_point = mid-centered
  width = 120
  height = 30
  x = -60
  y = 42
}

vanilla_button {
  instance_identifier = 400547
  anchor_point = mid-centered
  width = 120
  height = 30
  x = -190
  y = 76
}

vanilla_button {
  instance_identifier = 400472
  anchor_point = mid-centered
  width = 120
  height = 30
  x = -60
  y = 76
}

vanilla_button {
  instance_identifier = 400408
  is_hidden = true
}