#Broken Dropdown panel

1 messages · Page 1 of 1 (latest)

west bay
#
"main_screen_content/server_form_factory": {
    "control_ids": {
      "long_form": "@server_form.long_form_switcher_panel",
      "custom_form": "@server_form.custom_form_switcher_panel"
    }
  },

  "custom_form_switcher_panel": {
    "type": "panel",
    "size": ["100%", "100%"],
    "controls": [
      {
        "custom_form_default@server_form.custom_form": {
          "bindings": [
            {
              "binding_type": "global",
              "binding_name": "#title_text",
              "binding_name_override": "#text"
            },
            {
              "binding_name": "#null",
              "binding_type": "view",
              "source_property_name": "(not ((('%.9s' * #text)='fnaf:map:')or(('%.5s' * #text)='debug')))",
              "target_property_name": "#visible"
            }
          ]
        }
      },
      {
        "debugstick@server_form.custom_form": {
          "bindings": [
            
            {
              "binding_type": "global",
              "binding_name": "#title_text",
              "binding_name_override": "#text"
            },
            {
              "binding_name": "#null",
              "binding_type": "view",
              "source_property_name": "(('%.5s' * #text)='debug')",
              "target_property_name": "#visible"
            }
          ]
        }
      }
    ]
  },```
#

the debug panel uses the same parent as the vanilla custom form but for som reason on the debug one the drop panel is on the same position (middle) no matter which dropdown button u press

#

it should look like this ofc