Fix for [#34308] only half width of material list row is used for material name.

* Issue was caused in r54393.
This commit is contained in:
Thomas Dinges 2013-02-18 23:41:28 +00:00
parent 47c29c1c2e
commit 442d16b468

@ -84,8 +84,6 @@ class MATERIAL_UL_matslots(UIList):
layout.label(text=iface_("Node %s") % manode.name, translate=False, icon_value=layout.icon(manode))
elif ma.use_nodes:
layout.label(text="Node <none>")
else:
layout.label(text="")
elif self.layout_type in {'GRID'}:
layout.alignment = 'CENTER'
layout.label(text="", icon_value=icon)