forked from townforge/townforge
8e3d70c8fa
if styling is enabled
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
WindowInfo
|
|
title Carve runestone
|
|
centered-relative-size: 0.8 0.8
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBTextField: text: "Your visitors will see this message when they click on the runestone:"
|
|
|
|
TBToggleContainer: id: "ui-container", toggle: "expanded", value: 0, gravity: "all", connection: "show-as-ui"
|
|
TBContainer: id: "ui", gravity: "all"
|
|
|
|
TBToggleContainer: id: "message-container", toggle: "expanded", value: 1, gravity: "all", connection: "show-as-ui", invert: 1
|
|
TBEditField: id: "message", gravity: "all", placeholder: "Paste message here"
|
|
multiline: 1
|
|
|
|
TBLayout: axis: x
|
|
TBClickLabel: text: "Raw (styling will be enabled for the mayor of a city)"
|
|
TBCheckBox: id: "raw", value: 1
|
|
TBClickLabel: text: "Show as UI"
|
|
TBCheckBox: id: "show-as-ui", value: 0, connection: "show-as-ui"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Script:"
|
|
TBTextField: id: "script"
|
|
TBButton: id: "select-script", text: "Select"
|
|
TBButton: id: "configure-script", text: "Configure"
|
|
TBButton: id: "clear-script", text: "Clear"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|