Inherit lobby bin size from the root.

This commit is contained in:
Paul Chote
2015-10-04 17:26:38 +01:00
parent b73f775ef2
commit c6740b1bcb
12 changed files with 51 additions and 80 deletions

View File

@@ -1,20 +1,16 @@
Background@KICK_CLIENT_DIALOG:
X: 20
Y: 67
Width: 535
Height: 235
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Logic: KickClientLogic
Background: dialog3
Children:
Label@TITLE:
X: 0
Y: 40
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
Label@TEXTA:
X: 0
Y: 67
Width: PARENT_RIGHT
Height: 25
@@ -22,7 +18,6 @@ Background@KICK_CLIENT_DIALOG:
Align: Center
Text: You may also apply a temporary ban, preventing
Label@TEXTB:
X: 0
Y: 85
Width: PARENT_RIGHT
Height: 25
@@ -51,15 +46,12 @@ Background@KICK_CLIENT_DIALOG:
Font: Bold
Background@KICK_SPECTATORS_DIALOG:
X: 20
Y: 67
Width: 535
Height: 235
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Logic: KickSpectatorsLogic
Background: dialog3
Children:
Label@TITLE:
X: 0
Y: 40
Width: PARENT_RIGHT
Height: 25
@@ -67,7 +59,6 @@ Background@KICK_SPECTATORS_DIALOG:
Align: Center
Text: Kick Spectators
Label@TEXT:
X: 0
Y: 85
Width: PARENT_RIGHT
Height: 25
@@ -89,14 +80,11 @@ Background@KICK_SPECTATORS_DIALOG:
Font: Bold
Background@FORCE_START_DIALOG:
X: 20
Y: 67
Width: 593
Height: 235
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: dialog3
Children:
Label@TITLE:
X: 0
Y: 40
Width: PARENT_RIGHT
Height: 25
@@ -104,7 +92,6 @@ Background@FORCE_START_DIALOG:
Align: Center
Text: Start Game?
Label@TEXTA:
X: 0
Y: 67
Width: PARENT_RIGHT
Height: 25
@@ -112,7 +99,6 @@ Background@FORCE_START_DIALOG:
Align: Center
Text: One or more players are not yet ready.
Label@TEXTB:
X: 0
Y: 85
Width: PARENT_RIGHT
Height: 25
@@ -123,7 +109,6 @@ Background@FORCE_START_DIALOG:
Width: PARENT_RIGHT
Children:
Label@KICK_WARNING_A:
X: 0
Y: 106
Width: PARENT_RIGHT
Height: 25
@@ -131,7 +116,6 @@ Background@FORCE_START_DIALOG:
Align: Center
Text: One or more clients are missing the selected
Label@KICK_WARNING_B:
X: 0
Y: 123
Width: PARENT_RIGHT
Height: 25

View File

@@ -1,8 +1,6 @@
Background@LOBBY_OPTIONS_BIN:
X: 20
Y: 67
Width: 593
Height: 235
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: dialog3
Children:
Label@TITLE:

View File

@@ -3,8 +3,10 @@ Container@LOBBY_PLAYER_BIN:
Height: PARENT_BOTTOM
Children:
Container@LABEL_CONTAINER:
X: 25
Y: 40
X: 5
Y: 0-27
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@LABEL_LOBBY_NAME:
X: 0
@@ -49,12 +51,10 @@ Container@LOBBY_PLAYER_BIN:
Align: Left
Font: Bold
ScrollPanel@LOBBY_PLAYERS:
X: 20
Y: 67
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
TopBottomSpacing: 5
ItemSpacing: 5
Width: 593
Height: 235
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X: 5

View File

@@ -16,7 +16,11 @@ Background@SERVER_LOBBY:
Container@MAP_PREVIEW_ROOT:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@PLAYER_BIN_ROOT:
Container@TOP_PANELS_ROOT:
X: 20
Y: 67
Width: 593
Height: 235
DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 20
Y: PARENT_BOTTOM - 291