Add a player action dropdown to d2k

This commit is contained in:
abcdefg30
2018-07-28 19:48:42 +02:00
committed by Paul Chote
parent 51a99cb43c
commit 6d12e84bd9
2 changed files with 28 additions and 12 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
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 23
Text: X
Font: Bold
Font: Regular
Visible: false
Align: Left
ColorBlock@COLORBLOCK:
X: 195
Y: 6
@@ -347,13 +347,13 @@ Container@LOBBY_PLAYER_BIN:
Width: 160
Height: 25
Text: Name
Button@KICK:
X: 155
Y: 2
Width: 25
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 23
Text: X
Font: Bold
Font: Regular
Visible: false
Align: Left
Label@SPECTATOR:
X: 190
Width: 326