Make size and white-space of game save/load panel more consistent

This commit is contained in:
Ivaylo Draganov
2021-10-07 21:08:22 +03:00
committed by reaperrr
parent d2c08c72bd
commit 87534022b3
2 changed files with 22 additions and 22 deletions

View File

@@ -2,8 +2,8 @@ Container@GAMESAVE_BROWSER_PANEL:
Logic: GameSaveBrowserLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 600
Height: 400
Width: 714
Height: 435
Children:
Label@LOAD_TITLE:
Width: PARENT_RIGHT
@@ -27,10 +27,10 @@ Container@GAMESAVE_BROWSER_PANEL:
Background: panel-black
Children:
ScrollPanel@GAME_LIST:
X: 10
Y: 10
Width: PARENT_RIGHT - 20
Height: PARENT_BOTTOM - 20
X: 15
Y: 15
Width: PARENT_RIGHT - 30
Height: PARENT_BOTTOM - 30
Children:
ScrollItem@NEW_TEMPLATE:
Width: PARENT_RIGHT - 27
@@ -62,10 +62,10 @@ Container@GAMESAVE_BROWSER_PANEL:
Height: 25
Align: Right
Container@SAVE_WIDGETS:
X: 10
Y: PARENT_BOTTOM - 35
Width: PARENT_RIGHT - 20
Height: 35
X: 15
Y: PARENT_BOTTOM - 40
Width: PARENT_RIGHT - 30
Height: 30
Visible: False
Children:
TextField@SAVE_TEXTFIELD:
@@ -76,24 +76,24 @@ Container@GAMESAVE_BROWSER_PANEL:
Key: escape
X: 0
Y: PARENT_BOTTOM - 1
Width: 100
Width: 140
Height: 35
Text: Back
Button@DELETE_ALL_BUTTON:
X: PARENT_RIGHT - 330 - WIDTH
X: PARENT_RIGHT - 370 - WIDTH
Y: PARENT_BOTTOM - 1
Width: 100
Height: 35
Text: Delete All
Button@DELETE_BUTTON:
X: PARENT_RIGHT - 220 - WIDTH
X: PARENT_RIGHT - 260 - WIDTH
Y: PARENT_BOTTOM - 1
Width: 100
Height: 35
Text: Delete
Key: Delete
Button@RENAME_BUTTON:
X: PARENT_RIGHT - 110 - WIDTH
X: PARENT_RIGHT - 150 - WIDTH
Y: PARENT_BOTTOM - 1
Width: 100
Height: 35
@@ -103,7 +103,7 @@ Container@GAMESAVE_BROWSER_PANEL:
Key: return
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 1
Width: 100
Width: 140
Height: 35
Text: Load
Visible: False
@@ -111,7 +111,7 @@ Container@GAMESAVE_BROWSER_PANEL:
Key: return
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 1
Width: 100
Width: 140
Height: 35
Text: Save
Visible: False

View File

@@ -2,12 +2,12 @@ Background@GAMESAVE_BROWSER_PANEL:
Logic: GameSaveBrowserLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 600
Height: 400
Width: 700
Height: 500
Children:
Label@LOAD_TITLE:
Width: PARENT_RIGHT
Y: 21
Y: 16
Height: 25
Font: Bold
Align: Center
@@ -15,7 +15,7 @@ Background@GAMESAVE_BROWSER_PANEL:
Visible: False
Label@SAVE_TITLE:
Width: PARENT_RIGHT
Y: 21
Y: 16
Height: 25
Font: Bold
Align: Center
@@ -23,9 +23,9 @@ Background@GAMESAVE_BROWSER_PANEL:
Visible: False
ScrollPanel@GAME_LIST:
X: 20
Y: 50
Y: 45
Width: PARENT_RIGHT - 40
Height: PARENT_BOTTOM - 102
Height: PARENT_BOTTOM - 97
Children:
ScrollItem@NEW_TEMPLATE:
Width: PARENT_RIGHT - 27