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.
This commit is contained in:
Paul Chote
2017-12-09 21:47:31 +00:00
committed by reaperrr
parent 3f67feab0e
commit 3ad6a87920
3 changed files with 14 additions and 9 deletions

View File

@@ -16,12 +16,11 @@ Container@LOBBY_OPTIONS_BIN:
Children:
Container@LOBBY_OPTIONS:
X: 18
Y: 30
Y: 9
Width: PARENT_RIGHT - 18 - 24
Height: PARENT_BOTTOM - 75
Children:
Container@CHECKBOX_ROW_TEMPLATE:
Height: 35
Height: 34
Children:
Checkbox@A:
Width: 175
@@ -41,7 +40,7 @@ Container@LOBBY_OPTIONS_BIN:
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE:
Height: 35
Height: 34
Width: PARENT_RIGHT
Children:
Label@A_DESC: