{ "action": "Update", "title": "Test Window", "prefix": "login", "root": { "type": "Container", "align_x": "Center", "align_y": "Center", "padding": 100, "content": { "type": "Column", "spacing": 10, "elements": [ { "type": "Text", "text": "Example Login Application" }, { "type": "TextInput", "name": "user", "placeholder": "Username" }, { "type": "TextInput", "subtype": "Password", "name": "password", "placeholder": "Password" }, { "type": "Checkbox", "initial_state": false, "name": "agreement", "label": "Do you agree being spied on by Evil Corp.?", "spacing": 3 }, { "type": "HorizontalRule" }, { "type": "Row", "spacing": 3, "elements": [ { "type": "Button", "name": "login", "label": "Login" }, { "type": "Button", "name": "register", "label": { "type": "Text", "text": "Register" } } ] } ] } } }