Added a player action dropdown.

Adds options for:
 - handling kick
 - transferring admin
 - move to spectator
This commit is contained in:
teinarss
2018-07-05 22:07:30 +00:00
committed by Paul Chote
parent 0c1b11ed4f
commit 1c0aa24640
7 changed files with 212 additions and 60 deletions

View File

@@ -26,6 +26,22 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE:
Width: PARENT_RIGHT - 20
Height: 25
ScrollPanel@PLAYERACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width: PARENT_RIGHT - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
Align: Left
ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:

View File

@@ -181,13 +181,13 @@ Container@LOBBY_PLAYER_BIN:
Width: 165
Height: 25
Text: Name
Button@KICK:
X: 155
Y: 2
Width: 25
Height: 23
Text: X
Font: Bold
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
Align: Left
ColorBlock@COLORBLOCK:
X: 195
Y: 6
@@ -347,13 +347,13 @@ Container@LOBBY_PLAYER_BIN:
X: 20
Y: 0 - 1
Text: Name
Button@KICK:
X: 155
Y: 2
Width: 25
Height: 23
Text: X
Font: Bold
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
Align: Left
Label@SPECTATOR:
X: 190
Width: 326