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

109 lines
2.0 KiB
YAML

Container@GAME_INFO_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 570
Height: 435
Logic: GameInfoLogic
Visible: False
Children:
Label@TITLE:
Width: PARENT_RIGHT
Height: 25
Y: 0 - 34
Text: label-game-info-panel-title
Align: Center
Font: BigBold
Contrast: true
Container@TAB_CONTAINER_2:
X: 0 - 140 + 1
Visible: False
Children:
Button@BUTTON1:
Width: 140
Height: 35
Button@BUTTON2:
Y: 45
Width: 140
Height: 35
Container@TAB_CONTAINER_3:
X: 0 - 140 + 1
Visible: False
Children:
Button@BUTTON1:
Width: 140
Height: 35
Button@BUTTON2:
Y: 45
Width: 140
Height: 35
Button@BUTTON3:
Y: 90
Width: 140
Height: 35
Container@TAB_CONTAINER_4:
X: 0 - 140 + 1
Visible: False
Children:
Button@BUTTON1:
Width: 140
Height: 35
Button@BUTTON2:
Y: 45
Width: 140
Height: 35
Button@BUTTON3:
Y: 90
Width: 140
Height: 35
Button@BUTTON4:
Y: 135
Width: 140
Height: 35
Container@TAB_CONTAINER_5:
X: 0 - 140 + 1
Visible: False
Children:
Button@BUTTON1:
Width: 140
Height: 35
Button@BUTTON2:
Y: 45
Width: 140
Height: 35
Button@BUTTON3:
Y: 90
Width: 140
Height: 35
Button@BUTTON4:
Y: 135
Width: 140
Height: 35
Button@BUTTON5:
Y: 180
Width: 140
Height: 35
Background@BACKGROUND:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: panel-black
Children:
Container@STATS_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@MAP_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@OBJECTIVES_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@DEBUG_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@CHAT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@LOBBY_OPTIONS_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM