Blender Git Commit Log

Git Commits -> Revision d096d9c

Revision d096d9c by Julian Eisel (master)
January 26, 2021, 21:17 (GMT)
UI: Tooltip for data-block selector menus, showing full name and library info

Long data-block names are clipped to fit into data-block selector menus. For
linked data-blocks, there's also a hint indicating the source library, which
takes further space and may get clipped too.

So this commit adds a tooltip to the menu items, which displays the full,
unclipped data-block name and the unclipped library name. Plus, the library
path is shown too, which is also useful info.

Adds helper functions for search menu item tooltips, so these are easier to add
to other search menus in future.

Part of T84188.

Commit Details:

Full Hash: d096d9c4d686471b9de2a993b76f5bd9fef9cb78
Parent Commit: 656f6ae
Lines Changed: +137, -2

6 Modified Paths:

/source/blender/editors/include/UI_interface.h (+17, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+9, -0) (Diff)
/source/blender/editors/interface/interface_region_search.c (+13, -2) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+68, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+29, -0) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021