Files
OpenRA/mods/common/chrome/ingame-info.yaml
Ivaylo Draganov 79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00

143 lines
2.4 KiB
YAML

Container@GAME_INFO_PANEL:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 580
Height: 500
Logic: GameInfoLogic
Visible: False
Children:
Background@BACKGROUND:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Label@TITLE:
Y: 21
Width: PARENT_WIDTH
Height: 25
Align: Center
Font: Bold
Container@TAB_CONTAINER_2:
X: (PARENT_WIDTH - 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_WIDTH - 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_WIDTH - 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_WIDTH - 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_WIDTH
Height: PARENT_HEIGHT
Container@OBJECTIVES_PANEL:
Y: 65
Width: PARENT_WIDTH
Container@DEBUG_PANEL:
Y: 65
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Container@CHAT_PANEL:
Y: 65
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Container@LOBBY_OPTIONS_PANEL:
Y: 65
Width: PARENT_WIDTH
Height: PARENT_HEIGHT