Blender Git Commit Log

Git Commits -> Revision d161b5d

Revision d161b5d by Julian Eisel (master)
October 27, 2021, 10:14 (GMT)
UI: Add padding to the left of tree-rows labels without icon

The label was placed right at the left border of the row highlight,
which looked weird. So add some padding to tree-row labels without icon
or collapse chevron, which makes it look more polished. As additional
benefit, it alignes the labels better with icons of other rows on the
same tree level. And the padding makes it more clear that a child is
indeed a child, not just a sibling without icon.

Commit Details:

Full Hash: d161b5d204a585b910a47ca432544570ea10911e
Parent Commit: e16bc13
Lines Changed: +15, -7

3 Modified Paths:

/source/blender/editors/include/UI_tree_view.hh (+1, -0) (Diff)
/source/blender/editors/interface/tree_view.cc (+12, -1) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+2, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021