Blender Git Commit Log

Git Commits -> Revision 77f73a9

Revision 77f73a9 by Julian Eisel (master)
January 25, 2021, 22:10 (GMT)
Fix library name clipping most of the data-block name in data-block menus

Issue is visible here https://developer.blender.org/F8626313.

If there is enough space for both the item name and the library hint, display
both. Otherwise, clip either the item name, the library hint, or both so that
not more than 60% and 40% of the available width are used repectively.
There are further improvements we could do, as noted in T84188, this just fixes
the regression for the release.

Part of T84188. There were multiple reports about this, see merged in and
mentioned reports in T84188 and T78012.

Commit Details:

Full Hash: 77f73a92843965906189dd56dcc4d18eae2371cc
Parent Commit: 14f61c6
Lines Changed: +84, -15

3 Modified Paths:

/source/blender/editors/interface/interface_intern.h (+15, -1) (Diff)
/source/blender/editors/interface/interface_region_search.c (+27, -8) (Diff)
/source/blender/editors/interface/interface_widgets.c (+42, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021