Files
OpenRA/mods/common/chrome/lobby-options.yaml
Paul Chote 3ad6a87920 Center the vertical alignment of lobby options if less than the panel height.
This also enables an extra row to be shown before triggering the scroll bar.
2017-12-12 22:43:11 +01:00

69 lines
1.6 KiB
YAML

Container@LOBBY_OPTIONS_BIN:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@TITLE:
Y: 0 - 27
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
Text: Map Options
ScrollPanel:
Logic: LobbyOptionsLogic
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Container@LOBBY_OPTIONS:
X: 18
Y: 9
Width: PARENT_RIGHT - 18 - 24
Children:
Container@CHECKBOX_ROW_TEMPLATE:
Height: 34
Children:
Checkbox@A:
Width: 175
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Checkbox@B:
X: 195
Width: 175
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Checkbox@C:
X: 375
Width: 175
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE:
Height: 34
Width: PARENT_RIGHT
Children:
Label@A_DESC:
Width: 80
Height: 25
Align: Right
Visible: False
DropDownButton@A:
X: 85
Width: 160
Height: 25
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Label@B_DESC:
X: PARENT_RIGHT - WIDTH - 183
Width: 160
Height: 25
Align: Right
Visible: False
DropDownButton@B:
X: PARENT_RIGHT - WIDTH - 18
Width: 160
Height: 25
Font: Regular
Visible: False
TooltipContainer: TOOLTIP_CONTAINER