..

server_form.json

1/********************************************************
2+*   (c) Mojang. All rights reserved                       *
3+*   (c) Microsoft. All rights reserved.                   *
4+*********************************************************/
5
6{
7    "namespace": "server_form",
8    "$schema": "https://kalmemarq.github.io/Bugrock-JSON-UI-Schemas/ui.schema.json",
9
10    "long_form": {
11        "type": "panel",
12        "size": ["100%", "100%"],
13        "controls": [
14            {
15                "long_form@common_dialogs.main_panel_no_buttons": {
16                    "$title_panel": "common_dialogs.standard_title_label",
17                    "$title_size": ["100% - 14px", 10],
18                    "size": [225, 200],
19                    "$text_name": "#title_text",
20                    "$title_text_binding_type": "none",
21                    "$child_control": "server_form.long_form_panel",
22                    "layer": 2,
23                    "bindings": [
24                        {
25                            "binding_name": "#title_text"
26                        },
27                        {
28                            "binding_type": "view",
29                            "source_property_name": "((#title_text - 'Custom Form') = #title_text)",
30                            "target_property_name": "#visible"
31                        }
32                    ]
33                }
34            },
35            {
36                "long_form@common_dialogs.main_panel_no_buttons": {
37                    "$title_panel": "common_dialogs.standard_title_label",
38                    "$title_size": ["100% - 14px", 10],
39                    "size": [400, 200],
40                    "$text_name": "#title_text",
41                    "$title_text_binding_type": "none",
42                    "$child_control": "server_form.long_form_panel",
43                    "layer": 2,
44                    "bindings": [
45                        {
46                            "binding_name": "#title_text"
47                        },
48                        {
49                            "binding_type": "view",
50                            "source_property_name": "(#title_text = 'Custom Form')",
51                            "target_property_name": "#visible"
52                        }
53                    ]
54                }
55            }
56        ]
57    }
58}
59

Not Affiliated With Mojang Or Microsoft