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

57 lines
1.2 KiB
YAML

Background@SETTINGS_PANEL:
Logic: SettingsLogic
ButtonStride: 0, 35
Panels:
DISPLAY_PANEL: Display
AUDIO_PANEL: Audio
INPUT_PANEL: Input
HOTKEYS_PANEL: Hotkeys
ADVANCED_PANEL: Advanced
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 900
Height: 600
Children:
Label@SETTINGS_LABEL_TITLE:
Y: 20
Width: PARENT_WIDTH
Height: 25
Text: button-settings-title
Align: Center
Font: Bold
Button@RESET_BUTTON:
X: 20 + 10 + WIDTH
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-settings-panel-reset
Font: Bold
Button@BACK_BUTTON:
Key: escape
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-back
Font: Bold
Container@SETTINGS_TAB_CONTAINER:
X: 20
Y: 50
Width: PARENT_WIDTH
Height: 25
Children:
Button@BUTTON_TEMPLATE:
Width: 160
Height: 25
Font: Bold
Container@PANEL_CONTAINER:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Container@PANEL_TEMPLATE:
X: 190
Y: 50
Width: PARENT_WIDTH - 190 - 20
Height: PARENT_HEIGHT - 105
TooltipContainer@SETTINGS_TOOLTIP_CONTAINER: