type = fancymenu_layout

layout-meta {
  identifier = share_to_lan_screen
  render_custom_elements_behind_vanilla = true
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 0
  width = 339
  height = 135
  x = 3
  y = 16
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  width = 345
  height = 155
  x = -173
  y = 44
  source = [source:local]/config/fancymenu/assets/bg/command1.png
  nine_slice_texture = true
  nine_slice_texture_border_x = 8
  nine_slice_texture_border_y = 20
}

element {
  element_type = custom_button
  anchor_point = bottom-centered
  width = 130
  height = 30
  x = 3
  y = -38
  label = {"placeholder":"local","values":{"key":"bedrockreloaded.online_options"}}
  [executable_action_instance:1][action_type:opengui] = io.github.gaming32.worldhost.gui.screen.WorldHostConfigScreen
  [executable_block:0][type:generic] = [executables:1;]
}

vanilla_button {
  instance_identifier = 345972
  anchor_point = bottom-centered
  width = 130
  height = 30
  x = -133
  y = -38
  label = {"placeholder":"local","values":{"key":"gui.done"}}
}

vanilla_button {
  instance_identifier = 425160
  anchor_point = top-centered
  width = 150
  height = 20
  x = -75
  y = 156
}

vanilla_button {
  instance_identifier = 505100
  anchor_point = top-centered
  width = 150
  height = 25
  x = 3
  y = 96
}

vanilla_button {
  instance_identifier = 505972
  anchor_point = top-centered
  width = 5
  height = 5
  x = 160
  y = 52
  backgroundnormal = [source:local]/config/fancymenu/assets/icons/close.png
  backgroundhovered = [source:local]/config/fancymenu/assets/icons/close_highlighted.png
  label = 
}

vanilla_button {
  instance_identifier = 345100
  anchor_point = top-centered
  width = 150
  height = 25
  x = -154
  y = 96
}