UI: Use hyphen as separator for attribute lists

Replace the "play" emoji ▶ with a hyphen as separator in attribute
lists (Attributes and Color Attributes panel).

The hyphen uses less space while at the same time adding negative
space around domain/datatype making it easier to scan through the list.

See pull request for images.

Pull Request: https://projects.blender.org/blender/blender/pulls/125436
This commit is contained in:
Pablo Vazquez
2024-07-25 17:15:46 +02:00
committed by Pablo Vazquez
parent 37fca25820
commit 784aca8cbc

View File

@@ -518,7 +518,7 @@ class MESH_UL_attributes(UIList):
sub.alignment = 'RIGHT'
sub.active = False
sub.label(
text="{:s} {:s}".format(iface_(domain_name), iface_(data_type.name)),
text="{:s} - {:s}".format(iface_(domain_name), iface_(data_type.name)),
translate=False,
)
@@ -640,7 +640,7 @@ class MESH_UL_color_attributes(UIList, ColorAttributesListBase):
sub = split.row()
sub.alignment = 'RIGHT'
sub.active = False
sub.label(text="{:s} {:s}".format(iface_(domain_name), iface_(data_type.name)), translate=False)
sub.label(text="{:s} - {:s}".format(iface_(domain_name), iface_(data_type.name)), translate=False)
active_render = _index == data.color_attributes.render_color_index