This gives the container an actual size, which prevents the scroll panel logic skipping rendering in the belief that it is not visible.
43 lines
823 B
YAML
43 lines
823 B
YAML
Container@MISSION_OBJECTIVES:
|
|
Height: PARENT_BOTTOM
|
|
Width: PARENT_RIGHT
|
|
Logic: GameInfoObjectivesLogic
|
|
Children:
|
|
Label@MISSION:
|
|
X: 15
|
|
Y: 15
|
|
Width: 80
|
|
Height: 20
|
|
Font: MediumBold
|
|
Text: Mission:
|
|
Label@MISSION_STATUS:
|
|
X: 95
|
|
Y: 15
|
|
Width: PARENT_RIGHT - 110
|
|
Height: 20
|
|
Font: MediumBold
|
|
ScrollPanel@OBJECTIVES_PANEL:
|
|
X: 15
|
|
Y: 50
|
|
Width: 482
|
|
Height: 310
|
|
ItemSpacing: 15
|
|
Children:
|
|
Container@OBJECTIVE_TEMPLATE:
|
|
Width: PARENT_RIGHT
|
|
Height: 20
|
|
Children:
|
|
Label@OBJECTIVE_TYPE:
|
|
X: 10
|
|
Y: 0
|
|
Width: 70
|
|
Height: PARENT_BOTTOM
|
|
Align: Center
|
|
Checkbox@OBJECTIVE_STATUS:
|
|
X: 90
|
|
Y: 0
|
|
Width: PARENT_RIGHT - 100
|
|
Height: PARENT_BOTTOM
|
|
Disabled: True
|
|
TextColorDisabled: 255,255,255
|