townforge/GameData/TB/cc/edit-item.tb.txt

19 lines
699 B
Plaintext

WindowInfo
title Edit item
centered-relative-size: 0.6 0.6
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBTextField: text: "You can change the secondary description of any item you created:"
TBSelectDropdown: id: "item-list"
TBTextField: id: "name", gravity: "all", placeholder: "Item name"
TBEditField: id: "primary-description", gravity: "all", placeholder: "Primary description (immutable)"
multiline: 1, readonly: 1
TBEditField: id: "secondary-description", gravity: "all", placeholder: "Secondary description (may be changed now)"
multiline: 1
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"