townforge/GameData/TB/cc/new-script.tb.txt
2020-11-22 23:25:49 +00:00

32 lines
1.0 KiB
Plaintext

WindowInfo
title New script
centered-relative-size: 0.8 0.8
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBEditField: id: "script", gravity: "all", placeholder: "Paste script here"
multiline: 1
TBToggleContainer: id: "edit-container", toggle: "expanded"
TBLayout: axis: y, size: "available", distribution: "gravity"
TBLayout: axis: x, ignore-input: 1, size: "available", distribution: "gravity"
TBToggleContainer: id: "valid", toggle: "expanded"
TBLayout: axis: x
TBTextField: text: "Valid", skin: "script.valid"
TBTextField: id: "size"
TBToggleContainer: connection: "valid", invert: 1, toggle: "expanded"
TBTextField: id: "error", skin: "script.error", gravity: "left right"
TBLayout: axis: x
TBTextField: text: "Name:"
TBTextField: id: "name"
TBLayout: axis: x
TBButton: text: "Copy from clipboard", id: "copy-from-clipboard"
TBButton: text: "Parse", id: "parse"
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"