Files
OpenRA/mods/common/chrome/multiplayer-directconnect.yaml
RoosterDragon 377bb4b6cc Tweak some UI Yaml files
- Increase space of some elements to fit their text.
- Remove editor text that aren't translation keys. The text will be set in code anyway.
- Remove some unused elements.
- Provide a translation key for the port separator, to avoid log warnings.
2024-04-24 15:28:28 +03:00

60 lines
1.0 KiB
YAML

Background@DIRECTCONNECT_PANEL:
Logic: DirectConnectLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 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_RIGHT - 430
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: button-directconnect-panel-join
Font: Bold
Key: return
Button@BACK_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape