Files
OpenRA/mods/cnc/chrome/connection.yaml
Oliver Brakmann 5fdce51699 Merge pull request #10551 from RockyTV/rockytv
Change CONNECTIONFAILED_PANEL title if server requires password
2016-01-31 16:14:21 +01:00

93 lines
1.6 KiB
YAML

Container@CONNECTING_PANEL:
Logic: ConnectionLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Height: 125
Children:
Label@TITLE:
Width: PARENT_RIGHT
Y: 0-25
Font: BigBold
Contrast: true
Align: Center
Text: Connecting
Background@bg:
Width: 370
Height: 90
Background: panel-black
Children:
Label@CONNECTING_DESC:
Y: (PARENT_BOTTOM-HEIGHT)/2
Width: PARENT_RIGHT
Height: 25
Text: Connecting...
Font: Bold
Align: Center
Button@ABORT_BUTTON:
Key: escape
Y: 89
Width: 140
Height: 35
Text: Abort
Container@CONNECTIONFAILED_PANEL:
Logic: ConnectionFailedLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Height: 129
Children:
LogicTicker@CONNECTION_FAILED_TICKER:
Label@TITLE:
Width: PARENT_RIGHT
Y: 0-25
Font: BigBold
Contrast: true
Align: Center
Background@CONNECTION_BACKGROUND:
Width: 370
Height: 85
Background: panel-black
Children:
Label@CONNECTING_DESC:
Y: 15
Width: PARENT_RIGHT
Height: 25
Text: Failed to connect
Font: Bold
Align: Center
Label@CONNECTION_ERROR:
Y: 40
Width: PARENT_RIGHT
Height: 25
Align: Center
Font: Bold
Label@PASSWORD_LABEL:
X: 40
Y: 79
Width: 95
Height: 25
Align: Right
Text: Password:
Font: Bold
PasswordField@PASSWORD:
X: 140
Y: 80
Width: 155
MaxLength: 20
Height: 25
Button@ABORT_BUTTON:
Key: escape
Y: 84
Width: 140
Height: 35
Text: Abort
Button@RETRY_BUTTON:
Key: return
X: 230
Y: 84
Width: 140
Height: 35
Text: Retry