forked from townforge/townforge
since those are often inherent in typing (ie, trailing space) and tend to spam toasts unnecessarily
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
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"
|
|
TBTextField: text: "Primary description (fixed):"
|
|
TBEditField: id: "primary-description", gravity: "all", placeholder: "Primary description (immutable)"
|
|
multiline: 1
|
|
readonly: 1
|
|
TBTextField: text: "Secondary description (editable):"
|
|
TBEditField: id: "secondary-description", gravity: "all", placeholder: "Secondary description (may be changed now)"
|
|
multiline: 1
|
|
TBToggleContainer: id: "desc-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: "desc-error", gravity: "left right", text-align: "left", skin: "text-error"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|