diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-27 17:03:16 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-27 17:03:16 (GMT) |
commit | 88ed398f971b37b096dc2d473b7b1d98c06a4274 (patch) | |
tree | 5d8beb71ea50d2836d341d3adc9ce4e2d77c42a0 /Swift/QtUI/Roster/RosterDelegate.h | |
parent | a7e67d1185c18d890d77f4bfaa079252bbd43c2d (diff) | |
download | swift-contrib-88ed398f971b37b096dc2d473b7b1d98c06a4274.zip swift-contrib-88ed398f971b37b096dc2d473b7b1d98c06a4274.tar.bz2 |
Assorted roster rendering improvements.
Diffstat (limited to 'Swift/QtUI/Roster/RosterDelegate.h')
-rw-r--r-- | Swift/QtUI/Roster/RosterDelegate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.h b/Swift/QtUI/Roster/RosterDelegate.h index 1d1f0ce..d17b7a1 100644 --- a/Swift/QtUI/Roster/RosterDelegate.h +++ b/Swift/QtUI/Roster/RosterDelegate.h @@ -16,9 +16,11 @@ namespace Swift { void paintContact(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; QFont nameFont_; QFont statusFont_; - static const int avatarSize_ = 28; + static const int avatarSize_ = 20; static const int presenceIconHeight_ = 16; static const int presenceIconWidth_ = 16; - static const int margin_ = 4; + static const int groupCornerRadius_ = 4; + static const int horizontalMargin_ = 4; + static const int verticalMargin_ = 1; }; } |