Files
OpenRA/mods/cnc/chrome/lobby.yaml

149 lines
3.0 KiB
YAML

Container@SERVER_LOBBY:
Logic: LobbyLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 560) / 2
Width: 900
Height: 575
Children:
Label@SERVER_NAME:
Width: PARENT_RIGHT
Y: 0 - 22
Font: BigBold
Contrast: true
Align: Center
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 35
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: Slot Admin
Container@SKIRMISH_TABS:
X: 697 - WIDTH
Width: 465
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 248
Width: 151
Height: 31
Text: Players
Button@OPTIONS_TAB:
X: 157
Y: 248
Width: 151
Height: 31
Text: Options
Button@MUSIC_TAB:
X: 314
Y: 248
Width: 151
Height: 31
Text: Music
Container@MULTIPLAYER_TABS:
X: 697 - WIDTH
Width: 465
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 248
Width: 112
Height: 31
Text: Players
Button@OPTIONS_TAB:
X: 118
Y: 248
Width: 112
Height: 31
Text: Options
Button@MUSIC_TAB:
X: 236
Y: 248
Width: 112
Height: 31
Text: Music
Button@SERVERS_TAB:
X: 354
Y: 248
Width: 111
Height: 31
Text: Servers
Button@CHANGEMAP_BUTTON:
X: PARENT_RIGHT - WIDTH - 15
Y: 254
Width: 174
Height: 25
Text: Change Map
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
Children:
Container@CHAT_TEMPLATE:
Width: PARENT_RIGHT - 27
Height: 16
X: 2
Y: 0
Children:
Label@TIME:
X: 3
Width: 50
Height: 16
Shadow: True
Label@NAME:
X: 45
Width: 50
Height: 16
Shadow: True
Label@TEXT:
X: 55
Width: PARENT_RIGHT - 60
Height: 16
WordWrap: true
Shadow: True
Button@CHAT_MODE:
Y: PARENT_BOTTOM - HEIGHT
Width: 50
Height: 25
Text: Team
Font: Bold
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT - 55
Height: 25
Button@DISCONNECT_BUTTON:
Y: PARENT_BOTTOM - 36
Width: 140
Height: 35
Text: Leave Game
Button@START_GAME_BUTTON:
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 36
Width: 140
Height: 35
Text: Start Game
Container@FACTION_DROPDOWN_PANEL_ROOT:
TooltipContainer@TOOLTIP_CONTAINER: