127
row.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=2)
130
row.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=1)
129
132
col = row.column(align=True)
130
133
col.operator("object.material_slot_add", icon='ZOOMIN', text="")