diff options
author | Gustavo Noronha Silva <gustavo.noronha@collabora.com> | 2011-06-21 20:53:55 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:34 +0800 |
commit | ad593d8365ec053bc2f421aeeaa6d3de292f33e6 (patch) | |
tree | a3b29cae414539b85237044252a5b76feb09c525 /views/tasks | |
parent | 76ee6f3e7fe18a6bc17276cbb58828d7834ccf80 (diff) | |
download | gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar.gz gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar.bz2 gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar.lz gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar.xz gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.tar.zst gsoc2013-evolution-ad593d8365ec053bc2f421aeeaa6d3de292f33e6.zip |
Limit the size of tab labels to a reasonable size
We use half the size allocated to the whole view as a reference, and
force the label to be at most that size, taking advantage of ellipsis
otherwise. Notice that we also force the natural size as the requested
size if it is not too big as well, because labels ellipsisized using
the minimum size usually, which is undesired.
This is a fix for https://bugs.meego.com/show_bug.cgi?id=18313
Diffstat (limited to 'views/tasks')
0 files changed, 0 insertions, 0 deletions