Files
OpenRA/mods/common/chrome/multiplayer-directconnect.yaml
Ivaylo Draganov 79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00

59 lines
1.0 KiB
YAML

Background@DIRECTCONNECT_PANEL:
Logic: DirectConnectLogic
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 450
Height: 160
Children:
Label@DIRECTCONNECT_LABEL_TITLE:
X: 0
Y: 21
Width: 450
Height: 25
Text: label-directconnect-panel-title
Align: Center
Font: Bold
Label@ADDRESS_LABEL:
X: 20
Y: 60
Width: 125
Height: 25
Align: Right
Text: label-directconnect-panel-address
TextField@IP:
X: 150
Y: 60
Width: 210
MaxLength: 50
Height: 25
Label@PORT_LABEL:
X: 360
Y: 60
Width: 10
Height: 25
Align: Center
Text: label-directconnect-panel-port
TextField@PORT:
X: 370
Y: 60
Width: 60
MaxLength: 5
Height: 25
Type: Integer
Button@JOIN_BUTTON:
X: PARENT_WIDTH - 430
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-directconnect-panel-join
Font: Bold
Key: return
Button@BACK_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape