Files
OpenRA/mods/common/chrome/gamesave-loading.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

36 lines
837 B
YAML

Container@GAMESAVE_LOADING_SCREEN:
Logic: GameSaveLoadingLogic
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT
Children:
LogicKeyListener@CANCEL_HANDLER:
Background@STRIPE:
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: WINDOW_WIDTH
Height: 256
Background: loadscreen-stripe
Image@LOGO:
X: (WINDOW_WIDTH - 256) / 2
Y: (WINDOW_HEIGHT - 256) / 2
ImageCollection: logos
ImageName: logo
Label@TITLE:
Width: WINDOW_WIDTH
Y: 3 * WINDOW_HEIGHT / 4 - 29
Height: 25
Font: Bold
Align: Center
Text: label-gamesave-loading-screen-title
ProgressBar@PROGRESS:
X: (WINDOW_WIDTH - 500) / 2
Y: 3 * WINDOW_HEIGHT / 4
Width: 500
Height: 20
Label@DESC:
Width: WINDOW_WIDTH
Y: 3 * WINDOW_HEIGHT / 4 + 19
Height: 25
Font: Regular
Align: Center
Text: label-gamesave-loading-screen-desc