Files
OpenRA/mods/common/chrome/ingame-infoscripterror.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

40 lines
755 B
YAML

Container@SCRIPT_ERROR_PANEL:
Height: PARENT_HEIGHT
Width: PARENT_WIDTH
Logic: ScriptErrorLogic
Children:
Label@DESCA:
X: 15
Y: 16
Width: PARENT_WIDTH - 30
Height: 20
Font: Bold
Align: Center
Text: label-script-error-panel-desc-a
Label@DESCB:
X: 15
Y: 46
Width: PARENT_WIDTH - 30
Height: 20
Font: Regular
Align: Center
Text: label-script-error-panel-desc-b
Label@DESCC:
X: 15
Y: 66
Width: PARENT_WIDTH - 30
Height: 20
Font: Regular
Align: Center
Text: label-script-error-panel-desc-c
ScrollPanel@SCRIPT_ERROR_MESSAGE_PANEL:
X: 20
Y: 96
Width: PARENT_WIDTH - 40
Height: 300
Children:
Label@SCRIPT_ERROR_MESSAGE:
X: 4
Y: 2
Width: PARENT_WIDTH - 32