Increase the size of ingame-info panel

And add an Actions section for Kick
This commit is contained in:
Gustas
2022-08-10 15:37:05 +03:00
committed by teinarss
parent dde10249d5
commit 16198c121c
7 changed files with 53 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ Container@LOBBY_OPTIONS_PANEL:
Logic: LobbyOptionsLogic
X: 15
Y: 15
Width: 482
Width: PARENT_RIGHT - 30
Height: 375
Children:
Container@LOBBY_OPTIONS:

View File

@@ -1,7 +1,7 @@
Container@GAME_INFO_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 512
Width: 570
Height: 435
Logic: GameInfoLogic
Visible: False

View File

@@ -31,7 +31,7 @@ Container@SKIRMISH_STATS:
Container@STATS_HEADERS:
X: 17
Y: 80
Width: 393
Width: PARENT_RIGHT - 34
Children:
Label@NAME:
X: 10
@@ -54,10 +54,16 @@ Container@SKIRMISH_STATS:
Height: 25
Text: Score
Font: Bold
Label@ACTIONS:
X: 457
Width: 20
Height: 25
Text: Actions
Font: Bold
ScrollPanel@PLAYER_LIST:
X: 15
Y: 105
Width: 482
Width: PARENT_RIGHT - 30
Height: 285
ItemSpacing: 5
Children:
@@ -143,12 +149,15 @@ Container@SKIRMISH_STATS:
Height: 25
Shadow: True
Button@KICK:
X: 195
Width: 24
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 6
Y: 8
X: 7
Y: 7

View File

@@ -6,7 +6,7 @@ Container@LOBBY_OPTIONS_PANEL:
Logic: LobbyOptionsLogic
X: 20
Y: 20
Width: 482
Width: PARENT_RIGHT - 40
Height: 365
Children:
Container@LOBBY_OPTIONS:

View File

@@ -1,7 +1,7 @@
Container@GAME_INFO_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 522
Width: 580
Height: 500
Logic: GameInfoLogic
Visible: False

View File

@@ -31,7 +31,7 @@ Container@SKIRMISH_STATS:
Container@STATS_HEADERS:
X: 22
Y: 81
Width: 393
Width: PARENT_RIGHT - 44
Children:
Label@NAME:
X: 10
@@ -51,16 +51,22 @@ Container@SKIRMISH_STATS:
Height: 25
Text: Score
Font: Bold
Label@ACTIONS:
X: 457
Width: 20
Height: 25
Text: Actions
Font: Bold
ScrollPanel@PLAYER_LIST:
X: 20
Y: 105
Width: 482
Width: PARENT_RIGHT - 40
Height: 280
ItemSpacing: 5
Children:
ScrollItem@TEAM_TEMPLATE:
BaseName: scrollheader
Width: PARENT_RIGHT - 27
Width: PARENT_RIGHT - 26
Height: 20
X: 2
Visible: false
@@ -78,7 +84,7 @@ Container@SKIRMISH_STATS:
Height: 20
Font: Bold
Container@PLAYER_TEMPLATE:
Width: PARENT_RIGHT - 27
Width: PARENT_RIGHT - 26
Height: 25
X: 2
Children:
@@ -118,7 +124,7 @@ Container@SKIRMISH_STATS:
Height: 25
Shadow: True
Container@SPECTATOR_TEMPLATE:
Width: PARENT_RIGHT - 27
Width: PARENT_RIGHT - 26
Height: 25
X: 2
Children:
@@ -141,12 +147,15 @@ Container@SKIRMISH_STATS:
Height: 25
Shadow: True
Button@KICK:
X: 195
Width: 24
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 6
Y: 8
X: 7
Y: 7

View File

@@ -31,7 +31,7 @@ Container@SKIRMISH_STATS:
Container@STATS_HEADERS:
X: 22
Y: 81
Width: 393
Width: PARENT_RIGHT - 44
Children:
Label@NAME:
X: 10
@@ -54,10 +54,17 @@ Container@SKIRMISH_STATS:
Height: 25
Text: Score
Font: Bold
Label@ACTIONS:
X: 457
Y: 1
Width: 20
Height: 25
Text: Actions
Font: Bold
ScrollPanel@PLAYER_LIST:
X: 20
Y: 105
Width: 482
Width: PARENT_RIGHT - 40
Height: 265
ItemSpacing: 5
Children:
@@ -142,12 +149,15 @@ Container@SKIRMISH_STATS:
Height: 25
Shadow: True
Button@KICK:
X: 195
Width: 24
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: Kick this player
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 6
Y: 8
X: 7
Y: 7