Adjust size, position and white-space of several panels

This commit is contained in:
Ivaylo Draganov
2021-09-24 17:16:31 +03:00
committed by reaperrr
parent 0261dcaa7a
commit d2c08c72bd
6 changed files with 24 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ Container@NEW_MAP_BG:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 300
Height: 125
Height: 95
Children:
Label@TITLE:
Text: New Map
@@ -14,7 +14,7 @@ Container@NEW_MAP_BG:
Align: Center
Background@bg:
Width: PARENT_RIGHT
Height: 90
Height: PARENT_BOTTOM
Background: panel-black
Children:
Label@TILESET_LABEL:
@@ -60,7 +60,7 @@ Container@NEW_MAP_BG:
Text: 128
Type: Integer
Button@CANCEL_BUTTON:
Y: 89
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Cancel
@@ -68,7 +68,7 @@ Container@NEW_MAP_BG:
Key: escape
Button@CREATE_BUTTON:
X: PARENT_RIGHT - WIDTH
Y: 89
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Create
@@ -80,7 +80,7 @@ Container@SAVE_MAP_PANEL:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 345
Height: 229
Height: 195
Children:
Label@LABEL_TITLE:
Text: Save Map
@@ -91,7 +91,7 @@ Container@SAVE_MAP_PANEL:
Align: Center
Background@SAVE_MAP_BACKGROUND:
Width: PARENT_RIGHT
Height: 195
Height: PARENT_BOTTOM
Background: panel-black
Children:
Label@TITLE_LABEL:
@@ -167,7 +167,7 @@ Container@SAVE_MAP_PANEL:
Height: 25
Font: Regular
Button@BACK_BUTTON:
Y: PARENT_BOTTOM - 35
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Cancel
@@ -175,7 +175,7 @@ Container@SAVE_MAP_PANEL:
Key: escape
Button@SAVE_BUTTON:
X: PARENT_RIGHT - 140
Y: PARENT_BOTTOM - 35
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Save

View File

@@ -6,9 +6,9 @@ Container@SERVER_LOBBY:
Mission: CHAT_LINE_TEMPLATE
Feedback: TRANSIENT_LINE_TEMPLATE
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 560) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900
Height: 575
Height: 540
Children:
Label@SERVER_NAME:
Width: PARENT_RIGHT
@@ -18,7 +18,7 @@ Container@SERVER_LOBBY:
Align: Center
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 35
Height: PARENT_BOTTOM
Background: panel-black
Children:
Container@MAP_PREVIEW_ROOT:
@@ -119,13 +119,13 @@ Container@SERVER_LOBBY:
Width: PARENT_RIGHT - 55
Height: 25
Button@DISCONNECT_BUTTON:
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Leave Game
Button@START_GAME_BUTTON:
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Start Game

View File

@@ -1,9 +1,9 @@
Container@MAPCHOOSER_PANEL:
Logic: MapChooserLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 560) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900
Height: 575
Height: 540
Children:
Label@TITLE:
Width: PARENT_RIGHT

View File

@@ -1,9 +1,9 @@
Container@MULTIPLAYER_PANEL:
Logic: MultiplayerLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 560) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900
Height: 575
Height: 540
Children:
Label@TITLE:
Text: Multiplayer
@@ -14,7 +14,7 @@ Container@MULTIPLAYER_PANEL:
Align: Center
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 35
Height: PARENT_BOTTOM
Background: panel-black
Children:
Container@LABEL_CONTAINER:
@@ -254,7 +254,7 @@ Container@MULTIPLAYER_PANEL:
Button@BACK_BUTTON:
Key: escape
X: 0
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Back

View File

@@ -14,7 +14,7 @@ Container@MULTIPLAYER_CREATESERVER_PANEL:
Text: Create Server
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 35
Height: PARENT_BOTTOM
Background: panel-black
Children:
Label@SERVER_NAME_LABEL:
@@ -242,20 +242,20 @@ Container@MULTIPLAYER_CREATESERVER_PANEL:
Align: Center
Button@BACK_BUTTON:
Key: return
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Back
Button@MAP_BUTTON:
X: PARENT_RIGHT - WIDTH - 150
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Change Map
Button@CREATE_BUTTON:
Key: return
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 36
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: Create

View File

@@ -76,7 +76,7 @@ Background@MULTIPLAYER_PANEL:
X: 20
Y: 67
Width: 675
Height: PARENT_BOTTOM - 119
Height: PARENT_BOTTOM - 122
TopBottomSpacing: 2
Children:
ScrollItem@HEADER_TEMPLATE: