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