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

View File

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

View File

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

View File

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

View File

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

View File

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