townforge/GameData/TB/cc/start-new-epoch.tb.txt

30 lines
1.0 KiB
Plaintext

WindowInfo
title Start new epoch
centered-relative-size: 0.6 0.5
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBLayout: axis: x
TBTextField: text: "The current epoch is: "
TBTextField: id: "current-epoch"
TBEditField: id: "name", gravity: "all", placeholder: "Epoch name"
TBToggleContainer: id: "name-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: "name-error", gravity: "left right", text-align: "left", skin: "text-error"
TBLayout: axis: x
TBClickLabel: text: "Not before fork"
TBCheckBox: id: "not-before-fork", connection: "not-before-fork"
TBToggleContainer: connection: "not-before-fork", toggle: "expanded"
TBInlineSelect: id: "not-before-fork-value", value: 0, min: 0, max: 255, step: 1
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"