Files
OpenRA/mods/common/chrome/ingame-info-lobby-options.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

64 lines
1.5 KiB
YAML

Container@LOBBY_OPTIONS_PANEL:
Height: PARENT_HEIGHT
Width: PARENT_WIDTH
Children:
ScrollPanel:
Logic: LobbyOptionsLogic
X: 20
Y: 20
Width: PARENT_WIDTH - 40
Height: 365
Children:
Container@LOBBY_OPTIONS:
Y: 10
Width: PARENT_WIDTH - 24
Children:
Container@CHECKBOX_ROW_TEMPLATE:
Width: PARENT_WIDTH
Height: 30
Children:
Checkbox@A:
X: 10
Width: PARENT_WIDTH / 2 - 20
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Checkbox@B:
X: PARENT_WIDTH / 2 + 10
Width: PARENT_WIDTH / 2 - 20
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE:
Height: 60
Width: PARENT_WIDTH
Children:
LabelForInput@A_DESC:
X: 10
Width: PARENT_WIDTH / 2 - 20
Height: 20
Visible: False
For: A
DropDownButton@A:
X: 10
Y: 25
Width: PARENT_WIDTH / 2 - 20
Height: 25
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@B_DESC:
X: PARENT_WIDTH / 2 + 10
Width: PARENT_WIDTH / 2 - 20
Height: 20
Visible: False
For: B
DropDownButton@B:
X: PARENT_WIDTH / 2 + 10
Y: 25
Width: PARENT_WIDTH / 2 - 20
Height: 25
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER