Fix alignment issues in the score screen

This commit is contained in:
Oliver Brakmann
2015-04-19 19:23:20 +02:00
parent 5676c55082
commit 5e2b7add6e
3 changed files with 114 additions and 6 deletions

View File

@@ -0,0 +1,108 @@
Container@SKIRMISH_STATS:
Height: PARENT_BOTTOM
Width: PARENT_RIGHT
Logic: GameInfoStatsLogic
Children:
Label@MISSION:
X: 20
Y: 20
Width: 482
Height: 25
Font: MediumBold
Text: Mission:
Label@STATS_STATUS:
X: 100
Y: 20
Width: PARENT_RIGHT - 10
Height: 25
Font: MediumBold
Checkbox@STATS_CHECKBOX:
X: 20
Y: 55
Width: 482
Height: 20
Font: Bold
Text: Destroy all opposition!
Disabled: yes
TextColorDisabled: 255,255,255
Container@STATS_HEADERS:
X: 22
Y: 80
Width: 393
Children:
Label@NAME:
X: 10
Width: 150
Height: 25
Text: Player
Font: Bold
Label@RACE:
X: 150
Width: 80
Height: 25
Text: Faction
Font: Bold
Align: Center
Label@STANCE:
X: 280
Width: 50
Height: 25
Text: Team
Font: Bold
Align: Center
Label@KILLS:
X: 330
Width: 60
Height: 25
Text: Kills
Font: Bold
Align: Center
Label@DEATHS:
X: 390
Width: 60
Height: 25
Text: Deaths
Font: Bold
Align: Center
ScrollPanel@PLAYER_LIST:
X: 20
Y: 105
Width: 482
Height: 265
ItemSpacing: 5
Children:
Container@PLAYER_TEMPLATE:
Width: PARENT_RIGHT-27
Height: 25
X: 2
Y: 0
Children:
Label@NAME:
X: 10
Width: 150
Height: 25
Image@FACTIONFLAG:
X: 159
Y: 3
Width: 32
Height: 16
Label@FACTION:
X: 195
Width: 85
Height: 25
Label@TEAM:
X: 280
Width: 50
Height: 25
Align: Center
Label@KILLS:
X: 330
Width: 60
Height: 25
Align: Center
Label@DEATHS:
X: 390
Width: 60
Height: 25
Align: Center

View File

@@ -72,7 +72,7 @@ ChromeLayout:
./mods/ra/chrome/ingame-infoscripterror.yaml ./mods/ra/chrome/ingame-infoscripterror.yaml
./mods/ra/chrome/ingame-infobriefing.yaml ./mods/ra/chrome/ingame-infobriefing.yaml
./mods/ra/chrome/ingame-infoobjectives.yaml ./mods/ra/chrome/ingame-infoobjectives.yaml
./mods/ra/chrome/ingame-infostats.yaml ./mods/d2k/chrome/ingame-infostats.yaml
./mods/d2k/chrome/ingame-observer.yaml ./mods/d2k/chrome/ingame-observer.yaml
./mods/ra/chrome/ingame-observerstats.yaml ./mods/ra/chrome/ingame-observerstats.yaml
./mods/d2k/chrome/ingame-player.yaml ./mods/d2k/chrome/ingame-player.yaml

View File

@@ -44,8 +44,8 @@ Container@SKIRMISH_STATS:
Font: Bold Font: Bold
Align: Center Align: Center
Label@STANCE: Label@STANCE:
X: 240 X: 260
Width: 70 Width: 50
Height: 25 Height: 25
Text: Team Text: Team
Font: Bold Font: Bold
@@ -88,11 +88,11 @@ Container@SKIRMISH_STATS:
Height: 16 Height: 16
Label@FACTION: Label@FACTION:
X: 195 X: 195
Width: 40 Width: 65
Height: 25 Height: 25
Label@TEAM: Label@TEAM:
X: 240 X: 260
Width: 70 Width: 50
Height: 25 Height: 25
Align: Center Align: Center
Label@KILLS: Label@KILLS: