forked from townforge/townforge
since those are often inherent in typing (ie, trailing space) and tend to spam toasts unnecessarily
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
WindowInfo
|
|
title Set global variable
|
|
centered-relative-size: 0.5 0.0
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBLayout: axis: x, size: "available", distribution: "gravity"
|
|
TBTextField: text: "Name:"
|
|
TBEditField: id: "name", gravity: "left right"
|
|
TBButton: id: "lookup", text: "Lookup prefix"
|
|
|
|
TBToggleContainer: id: "variables-container", toggle: "expanded", value: 0, gravity: "all"
|
|
TBLayout: axis: x, size: "available", distribution: "gravity"
|
|
TBSeparator
|
|
TBLayout: axis: y, distribution-position: "left", gravity: "all"
|
|
TBTextField: text: "Matches:", text-align: "left"
|
|
TBSelectList: id: "variables", gravity: "all"
|
|
|
|
TBLayout: axis: x, size: "available", distribution: "gravity"
|
|
TBTextField: text: "Value:"
|
|
TBEditField: id: "value", gravity: "left right"
|
|
|
|
TBTextField: text: "Message (optional):"
|
|
TBEditField: id: "message", gravity: "all", multiline: 1
|
|
|
|
TBTextField: text: "This message will appear this way in the news:"
|
|
TBEditField: id: "message-news", gravity: "all", multiline: 1, readonly: 1
|
|
TBToggleContainer: id: "message-error-container", toggle: "expanded", gravity: "left right"
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBImageWidget: filename: "images/warning.png"
|
|
lp:
|
|
width: 24
|
|
height: 24
|
|
TBTextField: id: "message-error", gravity: "left right", text-align: "left", skin: "text-error"
|
|
|
|
TBButton: id: "test-message", text: "Test message notification"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|