From abc4579164fa06b6f8a7d9d27d6e36c100cbcc4f Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Fri, 28 Aug 2009 08:05:44 +0100 Subject: Slightly more liberal font margins for the group headers in the roster. diff --git a/Swift/QtUI/Roster/RosterDelegate.cpp b/Swift/QtUI/Roster/RosterDelegate.cpp index 27ba3b4..f17e585 100644 --- a/Swift/QtUI/Roster/RosterDelegate.cpp +++ b/Swift/QtUI/Roster/RosterDelegate.cpp @@ -30,7 +30,7 @@ QSize RosterDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelI QSize RosterDelegate::groupSizeHint(const QStyleOptionViewItem& option, const QModelIndex& index ) const { QFontMetrics groupMetrics(groupFont_); - return QSize(150, groupMetrics.height() + 2); + return QSize(150, groupMetrics.height() + 4); } QSize RosterDelegate::contactSizeHint(const QStyleOptionViewItem& option, const QModelIndex& index ) const { -- cgit v0.10.2-6-g49f6