Files
OpenRA/mods/cnc/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

61 lines
1.1 KiB
YAML

Container@DIRECTCONNECT_PANEL:
Logic: DirectConnectLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 90) / 2
Width: 370
Height: 125
Children:
Label@DIRECTCONNECT_LABEL_TITLE:
Width: PARENT_RIGHT
Height: 25
Y: 0 - 34
Font: BigBold
Contrast: true
Align: Center
Text: label-directconnect-panel-title
Background@bg:
Width: 370
Height: 90
Background: panel-black
Children:
Label@ADDRESS_LABEL:
X: 20
Y: 14
Width: 125
Height: 25
Align: Right
Text: label-bg-address
TextField@IP:
X: 150
Y: 15
Width: 200
Height: 25
Label@PORT_LABEL:
X: 50
Y: 49
Width: 95
Height: 25
Align: Right
Text: label-bg-port
TextField@PORT:
X: 150
Y: 50
Width: 200
Height: 25
Type: Integer
Button@BACK_BUTTON:
Key: escape
X: 0
Y: 89
Width: 140
Height: 35
Text: button-directconnect-panel-back
Button@JOIN_BUTTON:
Key: return
X: 230
Y: 89
Width: 140
Height: 35
Text: button-directconnect-panel-join