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: 15
Y: 30
Width: 501
Height: 219
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Logic: KickClientLogic
Background: scrollpanel-bg
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:
Text: Cancel
Font: Bold
Background@KICK_SPECTATORS_DIALOG:
X: 15
Y: 30
Width: 501
Height: 219
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Logic: KickSpectatorsLogic
Background: scrollpanel-bg
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
@@ -88,14 +79,11 @@ Background@KICK_SPECTATORS_DIALOG:
Text: Cancel
Font: Bold
Background@FORCE_START_DIALOG:
X: 15
Y: 30
Width: 556
Height: 219
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: scrollpanel-bg
Children:
Label@TITLE:
X: 0
Y: 40
Width: PARENT_RIGHT
Height: 25
@@ -103,7 +91,6 @@ Background@FORCE_START_DIALOG:
Align: Center
Text: Start Game?
Label@TEXTA:
X: 0
Y: 67
Width: PARENT_RIGHT
Height: 25
@@ -111,7 +98,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

View File

@@ -1,12 +1,9 @@
Background@LOBBY_OPTIONS_BIN:
X: 15
Y: 30
Width: 556
Height: 219
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: scrollpanel-bg
Children:
Label@TITLE:
X: 0
Y: 0 - 25
Width: PARENT_RIGHT
Height: 25

View File

@@ -3,8 +3,10 @@ Container@LOBBY_PLAYER_BIN:
Height: PARENT_BOTTOM
Children:
Container@LABEL_CONTAINER:
X: 20
Y: 5
X: 5
Y: 0-25
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@NAME:
Width: 200
@@ -48,10 +50,8 @@ Container@LOBBY_PLAYER_BIN:
Align: Left
Font: Bold
ScrollPanel@LOBBY_PLAYERS:
X: 15
Y: 30
Width: 556
Height: 219
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
TopBottomSpacing: 5
ItemSpacing: 5
Children:

View File

@@ -20,7 +20,11 @@ Container@SERVER_LOBBY:
Container@MAP_PREVIEW_ROOT:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@PLAYER_BIN_ROOT:
Container@TOP_PANELS_ROOT:
X: 15
Y: 30
Width: 556
Height: 219
DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 15
Y: 254