Reorder asset browser UI's asset list and filters

This commit is contained in:
penev92
2022-02-25 01:38:48 +02:00
committed by Gustas
parent 8a38ac0d24
commit 60b85c933e
2 changed files with 31 additions and 31 deletions

View File

@@ -40,9 +40,23 @@ Container@ASSETBROWSER_PANEL:
Height: 25
Font: Bold
Text: Asset types
Label@FILENAME_DESC:
X: 15
Y: 95
Width: 195
Height: 25
Font: TinyBold
Align: Center
Text: Filter by name
TextField@FILENAME_INPUT:
X: 15
Y: 120
Width: 195
Height: 25
Type: Filename
ScrollPanel@ASSET_LIST:
X: 15
Y: 100
Y: 155
Width: 195
Height: PARENT_BOTTOM - 205
CollapseHiddenChildren: True
@@ -60,20 +74,6 @@ Container@ASSETBROWSER_PANEL:
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@FILENAME_DESC:
X: 15
Y: PARENT_BOTTOM - HEIGHT - 74
Width: 195
Height: 25
Font: TinyBold
Align: Center
Text: Filter by name
TextField@FILENAME_INPUT:
X: 15
Y: PARENT_BOTTOM - HEIGHT - 50
Width: 195
Height: 25
Type: Filename
Label@SPRITE_SCALE:
X: PARENT_RIGHT - WIDTH - 440
Y: 31

View File

@@ -35,11 +35,25 @@ Background@ASSETBROWSER_PANEL:
Height: 25
Font: Bold
Text: Asset types
Label@FILENAME_DESC:
X: 20
Y: 115
Width: 195
Height: 25
Font: TinyBold
Align: Center
Text: Filter by name
TextField@FILENAME_INPUT:
X: 20
Y: 140
Width: 195
Height: 25
Type: Filename
ScrollPanel@ASSET_LIST:
X: 20
Y: 120
Y: 170
Width: 195
Height: PARENT_BOTTOM - 255
Height: PARENT_BOTTOM - 250
CollapseHiddenChildren: True
Children:
ScrollItem@ASSET_TEMPLATE:
@@ -55,20 +69,6 @@ Background@ASSETBROWSER_PANEL:
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@FILENAME_DESC:
X: 20
Y: 471
Width: 195
Height: 25
Font: TinyBold
Align: Center
Text: Filter by name
TextField@FILENAME_INPUT:
X: 20
Y: PARENT_BOTTOM - 105
Width: 195
Height: 25
Type: Filename
Label@SPRITE_SCALE:
X: PARENT_RIGHT - WIDTH - 440
Y: 60