forked from townforge/townforge
since those are often inherent in typing (ie, trailing space) and tend to spam toasts unnecessarily
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
WindowInfo
|
|
title Dice roll
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBTextField: text: "Roll a determinisitic dice based on a future block hash:"
|
|
TBToggleContainer: id: "text-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: "text-error", gravity: "left right", text-align: "left", skin: "text-error"
|
|
|
|
TBEditField: id: "text", placeholder: "Event description", multiline: 0, gravity: "left right"
|
|
|
|
TBEditField: id: "min-value", placeholder: "Minimum result value", gravity: "left right"
|
|
TBEditField: id: "max-value", placeholder: "Maximum result value", gravity: "left right"
|
|
|
|
TBClickLabel: text: "Add attribute bonus:"
|
|
TBCheckBox: id: "use-attribute", connection: "use-attribute"
|
|
|
|
TBToggleContainer: connection: "use-attribute", toggle: expanded
|
|
|
|
TBLayout: axis: y
|
|
TBTextField: text: "Add a character's attribute to the roll:"
|
|
TBSelectDropdown: id: "accounts"
|
|
TBSelectDropdown: id: "attributes"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|