Contacts count is in the same string with account display name, therefore it is never displayed when the string elided
We should split them and elide only the display name.
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 316090
M +30 -21 abstract-contact-delegate.cpp