Blender Git Loki

Git Commits -> Revision 09e5aa5

Revision 09e5aa5 by Bastien Montagne (master)
April 15, 2014, 14:49 (GMT)
Fix T39234: popup menus behave poorly when they have not enough width for all their columns.

Issue fixed by:
* Not having constant width for all columns, but adapt each to its content's width;
* Adapting undo's menu height to undo list length (so that we never have more than three columns).

It is still possible to get issues in extreme cases (small screen, high DPI size,
long op names everywhere...), but this should now be rare corner cases.

Also fixes a minor glitch with undo menu (first column had one item less than the others...).

Commit Details:

Full Hash: 09e5aa5156486585b3d23f52f927db744fb9a055
Parent Commit: 09874df
Lines Changed: +35, -31

2 Modified Paths:

/source/blender/editors/interface/interface.c (+25, -27) (Diff)
/source/blender/editors/util/undo.c (+10, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021