Files
OpenRA/mods/common/chrome/ingame-info.yaml
Ivaylo Draganov f018fdecdd Remove special handling for cases when there's only one game info tab
The addition of the lobby options tab ensures that there will always
be at least two tabs ("Objectives" and "Options").
2021-09-26 21:25:08 +01:00

143 lines
2.4 KiB
YAML

Container@GAME_INFO_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 522
Height: 485
Logic: GameInfoLogic
Visible: False
Children:
Background@BACKGROUND:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Label@TITLE:
Y: 21
Width: PARENT_RIGHT
Height: 25
Align: Center
Font: Bold
Container@TAB_CONTAINER_2:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 280
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 140
Height: 25
Font: Bold
Button@BUTTON2:
X: 140
Y: 50
Width: 140
Height: 25
Font: Bold
Container@TAB_CONTAINER_3:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 360
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON2:
X: 120
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON3:
X: 240
Y: 50
Width: 120
Height: 25
Font: Bold
Container@TAB_CONTAINER_4:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 480
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON2:
X: 120
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON3:
X: 240
Y: 50
Width: 120
Height: 25
Font: Bold
Button@BUTTON4:
X: 360
Y: 50
Width: 120
Height: 25
Font: Bold
Container@TAB_CONTAINER_5:
X: (PARENT_RIGHT - WIDTH) / 2
Width: 480
Height: 25
Visible: False
Children:
Button@BUTTON1:
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON2:
X: 96
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON3:
X: 192
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON4:
X: 288
Y: 50
Width: 96
Height: 25
Font: Bold
Button@BUTTON5:
X: 384
Y: 50
Width: 96
Height: 25
Font: Bold
Container@STATS_PANEL:
Y: 65
Container@MAP_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@OBJECTIVES_PANEL:
Y: 65
Width: PARENT_RIGHT
Container@DEBUG_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@CHAT_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@LOBBY_OPTIONS_PANEL:
Y: 65
Width: PARENT_RIGHT
Height: PARENT_BOTTOM