forked from townforge/townforge
since those are often inherent in typing (ie, trailing space) and tend to spam toasts unnecessarily
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
WindowInfo
|
|
title Name place
|
|
centered-relative-size: 0.6 0.4
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBTextField: text: "Name the selected area"
|
|
TBTextField: text: "You can create more complex shapes by creating several areas sharing the same name."
|
|
TBTextField: text: "Holes may be made by creating an area with an empty name."
|
|
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBTextField: text: "Terrain type:"
|
|
TBTextField: id: "terrain-feature"
|
|
TBButton: id: "help", text: "?"
|
|
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBTextField: text: "Place name:"
|
|
TBEditField: id: "name", gravity: "all", placeholder: "Give this place a name", multiline: 0, autofocus: 1
|
|
TBToggleContainer: id: "name-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: "name-error", gravity: "left right", text-align: "left", skin: "text-error"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Naming a place this size needs"
|
|
TBTextField: id: "runestones-needed", gravity: "left right"
|
|
TBTextField: text: "runestones"
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "You have"
|
|
TBTextField: id: "runestones-owned", gravity: "left right"
|
|
TBTextField: text: "runestones"
|
|
|
|
TBLayout: axis: x
|
|
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|