Files
OpenRA/mods/cnc/chrome/settings.yaml
RoosterDragon ca6aa5ebf1 Adjust widget sizes to ensure they accommodate the English translation text.
Some existing widget are too small to accommodate their text. Adjust their sizes to fit. Text can be rendered outside the widget bounds so visually this often has no impact, but adjusting this now will help in the future for checking translation text for other languages fit in their widgets.
2024-01-21 12:34:28 +02:00

53 lines
1.1 KiB
YAML

Container@SETTINGS_PANEL:
Logic: SettingsLogic
ButtonStride: 0, 45
Panels:
DISPLAY_PANEL: Display
AUDIO_PANEL: Audio
INPUT_PANEL: Input
HOTKEYS_PANEL: Hotkeys
ADVANCED_PANEL: Advanced
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 640
Height: 435
Children:
Label@SETTINGS_LABEL_TITLE:
Width: PARENT_RIGHT
Height: 25
Y: 0 - 34
Font: BigBold
Contrast: true
Align: Center
Text: label-settings-panel-title
Button@BACK_BUTTON:
Key: escape
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-settings-panel-back
Button@RESET_BUTTON:
X: 150
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-settings-panel-reset
Container@SETTINGS_TAB_CONTAINER:
X: 0 - 140 + 1
Children:
Button@BUTTON_TEMPLATE:
Width: 140
Height: 35
Background@PANEL_CONTAINER:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: panel-black
Children:
Container@PANEL_TEMPLATE:
X: 15
Y: 15
Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM - 30
TooltipContainer@SETTINGS_TOOLTIP_CONTAINER: