Files
OpenRA/mods/cnc/chrome/credits.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

55 lines
1.1 KiB
YAML

Container@CREDITS_PANEL:
Logic: CreditsLogic
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 410
Height: 435
Children:
Label@CREDITS_TITLE:
Width: PARENT_WIDTH
Height: 25
Y: 0 - 34
Font: BigBold
Contrast: true
Align: Center
Text: label-credits-title
Background@bg:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Background: panel-black
Children:
Container@TAB_CONTAINER:
Visible: False
X: 15
Y: 15
Width: PARENT_WIDTH - 30
Height: 34
Children:
Button@MOD_TAB:
Width: 140
Height: 35
Button@ENGINE_TAB:
X: 150
Width: 140
Height: 35
Text: label-openra
ScrollPanel@CREDITS_DISPLAY:
X: 15
Y: 15
Width: PARENT_WIDTH - 30
Height: PARENT_HEIGHT - 30
TopBottomSpacing: 8
Children:
Label@CREDITS_TEMPLATE:
X: 8
Width: PARENT_WIDTH - 24 - 2 * 8
Height: 16
VAlign: Top
WordWrap: true
Button@BACK_BUTTON:
Y: PARENT_HEIGHT - 1
Width: 140
Height: 35
Text: button-back
Key: escape