Files
OpenRA/mods/common/chrome/ingame-infoobjectives.yaml
Ivaylo Draganov 79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
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.
2024-10-07 12:59:25 +03:00

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