Sometime when the account name is elided, depending on the size of the contact list, there is a lot of space between the account display name and the account icon. Other times the display name goes over the icon.
Git commit 4a964c7d9c424d8601645a7aa4eb719eb36d0bcc by Martin Klapetek, on behalf of Daniele E. Domenichelli.
Committed on 06/03/2013 at 21:29.
Pushed by mklapetek into branch 'master'.
Split the display name and the contacts count in the header delegate
The contacts count was elided with the display name, and therefore
not displayed when the text is elided.
Also fixes a few small problems:
* The text was elided in a rect that was for some reason sometime
smaller and sometimes bigger than the available area.
* Add one point for the gray line in the bottom.
* Play a little bit with spacing, borders and size hints to make
it prettier and easier to understand.
Related: bug 316089
M +30 -21 abstract-contact-delegate.cpp