forked from bartvdbraak/blender
UI: Start UIList with 2 rows for materials/particles
There is room for it anyway because of the 3 buttons on the right.
This commit is contained in:
parent
d5ec62a0c3
commit
5e47f365e1
@ -98,7 +98,7 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, Panel):
|
||||
|
||||
if ob:
|
||||
is_sortable = len(ob.material_slots) > 1
|
||||
rows = 1
|
||||
rows = 2
|
||||
if (is_sortable):
|
||||
rows = 4
|
||||
|
||||
|
@ -150,7 +150,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
|
||||
row = layout.row()
|
||||
|
||||
row.template_list("PARTICLE_UL_particle_systems", "particle_systems", ob, "particle_systems",
|
||||
ob.particle_systems, "active_index", rows=1)
|
||||
ob.particle_systems, "active_index", rows=2)
|
||||
|
||||
col = row.column(align=True)
|
||||
col.operator("object.particle_system_add", icon='ZOOMIN', text="")
|
||||
|
Loading…
Reference in New Issue
Block a user