townforge/GameData/TB/cc/dividend.tb.txt
2020-10-26 13:09:35 +00:00

34 lines
1.0 KiB
Plaintext

WindowInfo
title Dividend
centered-relative-size: 0.5 0.4
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBLayout: axis: x
TBTextField: text: "Split:"
TBEditField: id: "amount", placeholder: "amount"
lp: min-width: 200
TBContainer
TBLayout: axis: y, distribution-position: "left"
TBLayout: axis: x
TBClickLabel: text: "gold"
lp: min-width: 200
TBRadioButton: id: "distribution-type-gold", group-id: "distribution-type", data: 0, value: 1
TBLayout: axis: x
TBRadioButton: id: "distribution-type-item", group-id: "distribution-type", data: 1
TBSelectDropdown: id: "distributed-item", gravity: "left right"
lp: min-width: 200
TBLayout: axis: x
TBTextField: text: "Among owners of:", distribution-position: "left"
TBSelectDropdown: id: "owned-item", gravity: "left right"
lp: min-width: 200
TBEditField: id: "note", placeholder: "Optional text note", gravity: "all"
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"