GP: Make Layer and Material lists shorter

This reduces UI vertical space.
This commit is contained in:
Antonioya 2018-09-28 15:47:36 +02:00
parent 0f03750f4f
commit 0d2c95a77a
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class DATA_PT_gpencil_datapanel(Panel):
row = layout.row()
col = row.column()
layer_rows = 8
layer_rows = 7
col.template_list("GPENCIL_UL_layer", "", gpd, "layers", gpd.layers, "active_index", rows=layer_rows)
col = row.column()

View File

@ -107,7 +107,7 @@ class MATERIAL_PT_gpencil_slots(Panel):
if ob:
is_sortable = len(ob.material_slots) > 1
rows = 8
rows = 7
row = layout.row()