townforge/GameData/TB/cc/tutorial-basic.tb.txt
2021-05-11 08:15:00 +00:00

23 lines
1.0 KiB
Plaintext

WindowInfo
title Tutorial
modal: 1
TBLayout: axis: y, distribution: "gravity"
TBLayout: axis: x, gravity: "all", distribution: "gravity"
TBToggleContainer: id: "image-container", toggle: "expanded"
TBImageWidget: id: "image", gravity: "all"
TBToggleContainer: id: "text-container", toggle: "expanded"
TBEditField: id: "text", multiline: 1, adapt-to-content: 1, readonly: 1, gravity: "all", skin: "tutorial-text", virtual-width: 500, styling: 1
TBTextField: gravity: "all"
TBLayout: axis: x, gravity: "left right", size: "available", distribution: "gravity"
TBClickLabel: text: "Enable tutorial", gravity: "left"
TBCheckBox: id: "enable-tutorial", value: 1
TBTextField: gravity: "left right"
TBLayout: axis: x, gravity: "bottom left right", size: "available", distribution: "gravity"
TBTextField: gravity: "left right"
TBToggleContainer: id: "prev-next-container", toggle: "expanded"
TBLayout: axis: x
TBButton: id: "prev", text: "<<"
TBButton: id: "next", text: ">>"
TBButton: id: "done", text: "Done", gravity: "right"