forked from townforge/townforge
28 lines
884 B
Plaintext
28 lines
884 B
Plaintext
WindowInfo
|
|
title Create item
|
|
centered-relative-size: 0.6 0.35
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBTextField: text: "You can create more of an item you created, if you had set it up to allow this:"
|
|
|
|
TBToggleContainer: id: "no-items", toggle: "expanded"
|
|
TBTextField: text: "There are no items you can create"
|
|
|
|
TBToggleContainer: connection: "no-items", invert: 1, toggle: "expanded"
|
|
TBLayout: axis: y
|
|
TBSelectDropdown: id: "item-list"
|
|
TBTextField: id: "name", gravity: "all", placeholder: "Item name"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Current supply"
|
|
TBTextField: id: "current-supply"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Add"
|
|
TBInlineSelect: id: "amount", min: 1
|
|
TBTextField: text: "more"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|