GP: Make Layer and Material lists shorter
This reduces UI vertical space.
This commit is contained in:
parent
0f03750f4f
commit
0d2c95a77a
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue