Restore separated direct connect dialog.

This commit is contained in:
Paul Chote
2017-12-17 18:36:15 +00:00
committed by abcdefg30
parent 205c45198c
commit 5256fb7bbd
8 changed files with 189 additions and 218 deletions

View File

@@ -1,95 +1,58 @@
Container@MULTIPLAYER_DIRECTCONNECT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Container@DIRECTCONNECT_PANEL:
Logic: DirectConnectLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Height: 125
Children:
Label@TITLE:
Y: 5
Width: 582
Height: 25
Text: Connect to Server
Width: PARENT_RIGHT
Y: 0-25
Font: BigBold
Contrast: true
Align: Center
Font: Bold
ScrollPanel:
Y: 30
Width: 582
Height: 249
Text: Connect to Server
Background@bg:
Width: 370
Height: 90
Background: panel-black
Children:
Container:
X: 185
Y: 60
Children:
Label@ADDRESS_LABEL:
Y: 14
Width: 95
Height: 25
Align: Right
Text: Address:
TextField@IP:
X: 100
Y: 15
Width: 215
Height: 25
Label@PORT_LABEL:
Y: 49
Width: 95
Height: 25
Align: Right
Text: Port:
TextField@PORT:
X: 100
Y: 50
Width: 50
Height: 25
MaxLength: 5
Container@SIDEBAR:
X: PARENT_RIGHT - WIDTH
Y: 30
Width: 174
Height: 280
Children:
Background@MAP_BG:
Width: PARENT_RIGHT
Height: 174
Background: panel-gray
Label@TITLE:
Y: 172
Width: PARENT_RIGHT
Label@ADDRESS_LABEL:
X: 50
Y: 14
Width: 95
Height: 25
Font: Bold
Align: Center
Text: Direct Connect
Label@DESCA:
Y: 190
Width: PARENT_RIGHT
Align: Right
Text: Address:
TextField@IP:
X: 150
Y: 15
Width: 200
Height: 25
Font: Tiny
Align: Center
Text: Enter the server IP and port in the
Label@DESCB:
Y: 203
Width: PARENT_RIGHT
Label@PORT_LABEL:
X: 50
Y: 49
Width: 95
Height: 25
Font: Tiny
Align: Center
Text: fields to the left, and then press Join.
Label@DESCC:
Y: 216
Width: PARENT_RIGHT
Align: Right
Text: Port:
TextField@PORT:
X: 150
Y: 50
Width: 200
Height: 25
Font: Tiny
Align: Center
Text: The mod and game version will be
Label@DESCD:
Y: 229
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: verified when connecting.
Button@BACK_BUTTON:
Key: escape
X: 0
Y: 89
Width: 140
Height: 35
Text: Back
Button@JOIN_BUTTON:
Key: return
X: PARENT_RIGHT - WIDTH
Y: 284
Width: 174
Height: 25
X: 230
Y: 89
Width: 140
Height: 35
Text: Join

View File

@@ -20,27 +20,27 @@ Container@MULTIPLAYER_PANEL:
DropDownButton@FILTERS_DROPDOWNBUTTON:
X: 15
Y: 284
Width: 147
Width: 152
Height: 25
Text: Filter Games
Button@REFRESH_BUTTON:
X: 167
X: 172
Y: 284
Width: 100
Height: 25
Text: Refresh
Button@DIRECTCONNECT_BUTTON:
X: 277
Y: 284
Width: 100
Height: 25
Text: Direct IP
Button@BROWSER_TAB:
X: 272
Y: 278
Width: 105
Height: 31
Text: Browse
Button@DIRECTCONNECT_TAB:
X: 382
Y: 278
Width: 105
Height: 31
Text: Direct IP
Text: Browse
Button@CREATE_TAB:
X: 492
Y: 278