UI: Customizable quick label tooltip for buttons #110016

Closed
Julian Eisel wants to merge 1 commits from JulianEisel/blender:temp-but-quick-label into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Julian Eisel 7b1294255e UI: Allow buttons to set a quick label tooltip
No user visible changes expected.

Used in the asset shelf branch, see #104831.

Adds:
- Custom callback to return a quick label. This is useful when a label
  tooltip should be displayed even when there is no button string set.
  E.g. in the asset shelf with "Show Names" disabled.
- A flag to force enable quick label tooltips, since the internal checks
  are rather ad-hoc and it's useful to be able to just override them.
2023-07-12 17:29:10 +02:00