Fix create map panel geometry.

This commit is contained in:
Paul Chote
2015-05-17 11:57:29 +01:00
parent 469f47aeea
commit 445c0d76a2
2 changed files with 39 additions and 39 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: 150 Height: 125
Children: Children:
Label@TITLE: Label@TITLE:
Text:New Map Text:New Map
@@ -14,65 +14,65 @@ Container@NEW_MAP_BG:
Align: Center Align: Center
Background@bg: Background@bg:
Width: PARENT_RIGHT Width: PARENT_RIGHT
Height: 115 Height: 90
Background: panel-black Background: panel-black
Children: Children:
Label@TILESET_LABEL: Label@TILESET_LABEL:
X: 5 X: 25
Y: 19 Y: 14
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Tileset: Text: Tileset:
DropDownButton@TILESET: DropDownButton@TILESET:
X: 105 X: 125
Y: 22 Y: 15
Width: 150 Width: 160
Height: 25 Height: 25
Label@WIDTH_LABEL: Label@WIDTH_LABEL:
X: 5 X: 25
Y: 59 Y: 49
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Width: Text: Width:
TextField@WIDTH: TextField@WIDTH:
X: 105 X: 125
Y: 60 Y: 50
Width: 50 Width: 50
MaxLength: 3 MaxLength: 3
Height: 25 Height: 25
Text: 128 Text: 128
Label@HEIGHT_LABEL: Label@HEIGHT_LABEL:
X: 115 X: 135
Y: 59 Y: 49
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Height: Text: Height:
TextField@HEIGHT: TextField@HEIGHT:
X: 215 X: 235
Y: 60 Y: 50
Width: 50 Width: 50
MaxLength: 3 MaxLength: 3
Height: 25 Height: 25
Text: 128 Text: 128
Button@CREATE_BUTTON:
X: 0
Y: 114
Width: 140
Height: 35
Text: Create
Font: Bold
Key: return
Button@CANCEL_BUTTON: Button@CANCEL_BUTTON:
X: PARENT_RIGHT - WIDTH Y: 89
Y: 114
Width: 140 Width: 140
Height: 35 Height: 35
Text: Cancel Text: Cancel
Font: Bold Font: Bold
Key: escape Key: escape
Button@CREATE_BUTTON:
X: PARENT_RIGHT - WIDTH
Y: 89
Width: 140
Height: 35
Text: Create
Font: Bold
Key: return
Container@SAVE_MAP_PANEL: Container@SAVE_MAP_PANEL:
X: (WINDOW_RIGHT - WIDTH)/2 X: (WINDOW_RIGHT - WIDTH)/2

View File

@@ -3,7 +3,7 @@ Background@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: 200 Height: 185
Children: Children:
Label@LABEL_TITLE: Label@LABEL_TITLE:
X: 0 X: 0
@@ -14,47 +14,47 @@ Background@NEW_MAP_BG:
Align: Center Align: Center
Font: Bold Font: Bold
Label@TILESET_LABEL: Label@TILESET_LABEL:
X: 5 X: 20
Y: 59 Y: 59
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Tileset: Text: Tileset:
DropDownButton@TILESET: DropDownButton@TILESET:
X: 105 X: 120
Y: 60 Y: 60
Width: 150 Width: 160
Height: 25 Height: 25
Label@WIDTH_LABEL: Label@WIDTH_LABEL:
X: 5 X: 20
Y: 99 Y: 94
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Width: Text: Width:
TextField@WIDTH: TextField@WIDTH:
X: 105 X: 120
Y: 100 Y: 95
Width: 50 Width: 50
MaxLength: 3 MaxLength: 3
Height: 25 Height: 25
Text: 128 Text: 128
Label@HEIGHT_LABEL: Label@HEIGHT_LABEL:
X: 115 X: 130
Y: 99 Y: 94
Width: 95 Width: 95
Height: 25 Height: 25
Align: Right Align: Right
Text: Height: Text: Height:
TextField@HEIGHT: TextField@HEIGHT:
X: 215 X: 230
Y: 100 Y: 95
Width: 50 Width: 50
MaxLength: 3 MaxLength: 3
Height: 25 Height: 25
Text: 128 Text: 128
Button@CREATE_BUTTON: Button@CREATE_BUTTON:
X: 15 X: 30
Y: PARENT_BOTTOM - 45 Y: PARENT_BOTTOM - 45
Width: 120 Width: 120
Height: 25 Height: 25
@@ -62,7 +62,7 @@ Background@NEW_MAP_BG:
Font: Bold Font: Bold
Key: return Key: return
Button@CANCEL_BUTTON: Button@CANCEL_BUTTON:
X: PARENT_RIGHT - 15 - WIDTH X: 160
Y: PARENT_BOTTOM - 45 Y: PARENT_BOTTOM - 45
Width: 120 Width: 120
Height: 25 Height: 25