Files
OpenRA/mods/common/chrome/multiplayer-directconnect.yaml
RoosterDragon ca6aa5ebf1 Adjust widget sizes to ensure they accommodate the English translation text.
Some existing widget are too small to accommodate their text. Adjust their sizes to fit. Text can be rendered outside the widget bounds so visually this often has no impact, but adjusting this now will help in the future for checking translation text for other languages fit in their widgets.
2024-01-21 12:34:28 +02: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: :
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-directconnect-panel-back
Font: Bold
Key: escape