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 Logic: LobbyOptionsLogic
X: 15 X: 15
Y: 15 Y: 15
Width: 482 Width: PARENT_RIGHT - 30
Height: 375 Height: 375
Children: Children:
Container@LOBBY_OPTIONS: Container@LOBBY_OPTIONS:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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