Adjust spacing and width in editor category dropdown

This commit is contained in:
Ivaylo Draganov
2020-03-27 19:37:43 +02:00
committed by Paul Chote
parent d22cd3a74f
commit e2572b214f
2 changed files with 19 additions and 17 deletions

View File

@@ -644,29 +644,30 @@ Container@EDITOR_WORLD_ROOT:
Contrast: true
ScrollPanel@CATEGORY_FILTER_PANEL:
Width: 190
Width: 230
TopBottomSpacing: 5
ItemSpacing: 5
Children:
Container@SELECT_CATEGORIES_BUTTONS:
Width: PARENT_RIGHT
Height: 30
Height: 25
Children:
Button@SELECT_ALL:
X: 10
Y: 2
Width: 60
Y: 0 - 5
Width: 88
Height: 25
Text: All
Button@SELECT_NONE:
X: PARENT_RIGHT - WIDTH - 34
Y: 2
Width: 60
X: 10 + 88 + 10
Y: 0 - 5
Width: 88
Height: 25
Text: None
Checkbox@CATEGORY_TEMPLATE:
X: 5
Y: 5
Width: PARENT_RIGHT - 29
Height: 22
Height: 20
Visible: false
ScrollPanel@COPY_FILTER_PANEL:

View File

@@ -620,29 +620,30 @@ Container@EDITOR_WORLD_ROOT:
Contrast: true
ScrollPanel@CATEGORY_FILTER_PANEL:
Width: 170
Width: 240
TopBottomSpacing: 5
ItemSpacing: 5
Children:
Container@SELECT_CATEGORIES_BUTTONS:
Width: PARENT_RIGHT
Height: 29
Height: 25
Children:
Button@SELECT_ALL:
X: 10
Y: 2
Width: 60
Y: 0 - 5
Width: 93
Height: 25
Text: All
Font: Bold
Button@SELECT_NONE:
X: PARENT_RIGHT - WIDTH - 34
Y: 2
Width: 60
X: 10 + 93 + 10
Y: 0 - 5
Width: 93
Height: 25
Text: None
Font: Bold
Checkbox@CATEGORY_TEMPLATE:
X: 5
Y: 5
Width: PARENT_RIGHT - 29
Height: 20
Visible: false