Blender Git Loki

Git Commits -> Revision 1ad9987

Revision 1ad9987 by Bastien Montagne (master)
August 16, 2014, 20:36 (GMT)
Fix filenames in splashscreen.

For some reason, labels of buttons in popups/menus were clipped left.

Removed that function (was the only place were it was used), clipping text
by its left is really bad for its understanding!

Instead, extended clip_middle code so that it optionnally preserves a right piece of
the given string (like the shortcut part of a menu label). Think that's what makes
more sense here (note that most menus adapt themselves to their longest item,
we do not have much fixed-width ones, anyway).

Also tweaked a bit clip_middle logic, so that left part always have at least ten chars
(in addition to already existing 'min width' checks).

Commit Details:

Full Hash: 1ad9987af14e4f5c8fbe168df2fbe39c058732e5
Parent Commit: c47a01d
Lines Changed: +83, -55

1 Modified Path:

/source/blender/editors/interface/interface_widgets.c (+83, -55) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021