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

144 lines
3.2 KiB
YAML

Container@SERVER_LOBBY:
Logic: LobbyLogic
ChatTemplates:
Chat: CHAT_LINE_TEMPLATE
Join: SYSTEM_LINE_TEMPLATE
Leave: SYSTEM_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: CHAT_LINE_TEMPLATE
Feedback: TRANSIENT_LINE_TEMPLATE
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900
Height: 540
Children:
Label@SERVER_NAME:
Width: PARENT_RIGHT
Height: 25
Y: 0 - 34
Font: BigBold
Contrast: true
Align: Center
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: panel-black
Children:
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - 15 - WIDTH
Y: 30
Width: 174
Height: 250
DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 15
Y: 254
Width: 211
Height: 25
Text: dropdownbutton-bg-slots
Button@RESET_OPTIONS_BUTTON:
X: 15
Y: 254
Width: 211
Height: 25
Text: button-bg-reset-options
Container@SKIRMISH_TABS:
X: 697 - WIDTH
Width: 465
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 248
Width: 151
Height: 31
Text: button-skirmish-tabs-players-tab
Button@OPTIONS_TAB:
X: 157
Y: 248
Width: 151
Height: 31
Text: button-skirmish-tabs-options-tab
Button@MUSIC_TAB:
X: 314
Y: 248
Width: 151
Height: 31
Text: button-skirmish-tabs-music-tab
Container@MULTIPLAYER_TABS:
X: 697 - WIDTH
Width: 465
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 248
Width: 112
Height: 31
Text: button-multiplayer-tabs-players-tab
Button@OPTIONS_TAB:
X: 118
Y: 248
Width: 112
Height: 31
Text: button-multiplayer-tabs-options-tab
Button@MUSIC_TAB:
X: 236
Y: 248
Width: 112
Height: 31
Text: button-multiplayer-tabs-music-tab
Button@SERVERS_TAB:
X: 354
Y: 248
Width: 111
Height: 31
Text: button-multiplayer-tabs-servers-tab
Button@CHANGEMAP_BUTTON:
X: PARENT_RIGHT - WIDTH - 15
Y: 254
Width: 174
Height: 25
Text: button-bg-changemap
Container@TOP_PANELS_ROOT:
X: 15
Y: 30
Width: 682
Height: 219
Container@LOBBYCHAT:
X: 15
Y: 285
Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM - 300
Children:
ScrollPanel@CHAT_DISPLAY:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 30
TopBottomSpacing: 3
ItemSpacing: 2
Button@CHAT_MODE:
Y: PARENT_BOTTOM - HEIGHT
Width: 50
Height: 25
Text: button-lobbychat-chat-mode.label
Font: Bold
Key: ToggleChatMode
TooltipText: button-lobbychat-chat-mode.tooltip
TooltipContainer: TOOLTIP_CONTAINER
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT - 55
Height: 25
Button@DISCONNECT_BUTTON:
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-server-lobby-disconnect
Button@START_GAME_BUTTON:
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-server-lobby-start-game
Container@FACTION_DROPDOWN_PANEL_ROOT:
TooltipContainer@TOOLTIP_CONTAINER: