townforge/GameData/TB/cc/new-item.tb.txt
2020-03-20 19:27:51 +00:00

18 lines
640 B
Plaintext

WindowInfo
title New item
centered-relative-size: 0.6 0.6
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBEditField: id: "name", gravity: "all", placeholder: "Item name"
TBEditField: id: "amount", gravity: "all", placeholder: "Amount to create"
TBEditField: id: "primary-description", gravity: "all", placeholder: "Primary description (immutable)"
multiline: 1
TBEditField: id: "secondary-description", gravity: "all", placeholder: "Secondary description (can be changed later)"
multiline: 1
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"