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 Width: PARENT_RIGHT - 20
Height: 25 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: ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH
Children: Children:

View File

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