The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
44 lines
859 B
YAML
44 lines
859 B
YAML
Container@MISSION_OBJECTIVES:
|
|
Height: PARENT_HEIGHT
|
|
Width: PARENT_WIDTH
|
|
Logic: GameInfoObjectivesLogic
|
|
Children:
|
|
Label@MISSION:
|
|
X: 20
|
|
Y: 21
|
|
Width: 80
|
|
Height: 25
|
|
Font: MediumBold
|
|
Text: label-mission-objectives
|
|
Label@MISSION_STATUS:
|
|
X: 100
|
|
Y: 21
|
|
Width: PARENT_WIDTH - 120
|
|
Height: 25
|
|
Font: MediumBold
|
|
ScrollPanel@OBJECTIVES_PANEL:
|
|
X: 20
|
|
Y: 60
|
|
Width: 482
|
|
Height: 325
|
|
TopBottomSpacing: 15
|
|
ItemSpacing: 15
|
|
Children:
|
|
Container@OBJECTIVE_TEMPLATE:
|
|
Width: PARENT_WIDTH
|
|
Height: 20
|
|
Children:
|
|
Label@OBJECTIVE_TYPE:
|
|
X: 10
|
|
Y: 1
|
|
Width: 70
|
|
Height: PARENT_HEIGHT
|
|
Align: Center
|
|
Checkbox@OBJECTIVE_STATUS:
|
|
X: 90
|
|
Y: 0
|
|
Width: PARENT_WIDTH - 100
|
|
Height: PARENT_HEIGHT
|
|
Disabled: True
|
|
TextColorDisabled: FFFFFF
|