Add search bar to editor Template list.

This commit is contained in:
Paul Chote
2017-07-05 12:49:47 +00:00
committed by reaperrr
parent f1b54ece8a
commit 72cf5d29e7
3 changed files with 144 additions and 29 deletions

View File

@@ -258,14 +258,38 @@ Container@EDITOR_WORLD_ROOT:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
DropDownButton@TILE_CATEGORY:
Width: PARENT_RIGHT
Background:
Width: 61
Height: 50
Background: panel-black
Children:
Label@SEARCH_LABEL:
Width: PARENT_RIGHT - 5
Height: 25
Text: Search:
Align: Right
Font: TinyBold
Label@CATEGORIES_LABEL:
Y: 24
Width: PARENT_RIGHT - 5
Height: 25
Text: Filter:
Align: Right
Font: TinyBold
TextField@SEARCH_TEXTFIELD:
X: 60
Width: PARENT_RIGHT - 60
Height: 25
DropDownButton@CATEGORIES_DROPDOWN:
X: 60
Y: 24
Width: PARENT_RIGHT - 60
Height: 25
Font: Bold
ScrollPanel@TILETEMPLATE_LIST:
Y: 24
Y: 48
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 24
Height: PARENT_BOTTOM - 48
TopBottomSpacing: 4
ItemSpacing: 4
Children:

View File

@@ -230,17 +230,36 @@ Container@EDITOR_WORLD_ROOT:
Width: 240
Height: WINDOW_BOTTOM - 382
Children:
DropDownButton@TILE_CATEGORY:
X: 10
Label@SEARCH_LABEL:
Y: 10
Width: 220
Width: 55
Height: 25
Text: Search:
Align: Right
Font: TinyBold
TextField@SEARCH_TEXTFIELD:
X: 60
Y: 10
Width: PARENT_RIGHT - 70
Height: 25
Label@CATEGORIES_LABEL:
Y: 34
Width: 55
Height: 25
Text: Filter:
Align: Right
Font: TinyBold
DropDownButton@CATEGORIES_DROPDOWN:
X: 60
Y: 34
Width: PARENT_RIGHT - 70
Height: 25
Font: Bold
ScrollPanel@TILETEMPLATE_LIST:
X: 10
Y: 35
Y: 58
Width: PARENT_RIGHT - 20
Height: PARENT_BOTTOM - 45
Height: PARENT_BOTTOM - 68
TopBottomSpacing: 4
ItemSpacing: 4
Children: