From d10142f4acd2d3ae31c40d07f68c77a43095f82a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Mon, 24 May 2010 10:06:11 +0200
Subject: Fiddle with the roster header layout a bit.


diff --git a/Swift/QtUI/QtRosterHeader.cpp b/Swift/QtUI/QtRosterHeader.cpp
index 3ab12dd..6efb80d 100644
--- a/Swift/QtUI/QtRosterHeader.cpp
+++ b/Swift/QtUI/QtRosterHeader.cpp
@@ -19,21 +19,21 @@ namespace Swift {
 QtRosterHeader::QtRosterHeader(QWidget* parent) : QWidget(parent) {
 	QHBoxLayout* topLayout = new QHBoxLayout();
 	topLayout->setSpacing(0);
-	topLayout->setContentsMargins(0,0,0,0);
+	topLayout->setContentsMargins(4,4,4,4);
 	setLayout(topLayout);
-	setMinimumHeight(64);
-	setMaximumHeight(64);
+	setMinimumHeight(50);
+	setMaximumHeight(50);
 
 	avatarLabel_ = new QLabel(this);
-	avatarLabel_->setMinimumSize(64, 64);
-	avatarLabel_->setMaximumSize(64, 64);
+	avatarLabel_->setMinimumSize(40, 40);
+	avatarLabel_->setMaximumSize(40, 40);
 	setAvatar(":/icons/avatar.png");
 	avatarLabel_->setScaledContents(true);
 	topLayout->addWidget(avatarLabel_);
 
 	QVBoxLayout* rightLayout = new QVBoxLayout();
 	rightLayout->setSpacing(4);
-	rightLayout->setContentsMargins(4,4,4,4);
+	rightLayout->setContentsMargins(4,0,0,0);
 	topLayout->addLayout(rightLayout);
 
 	nameLabel_ = new QLabel(this);
-- 
cgit v0.10.2-6-g49f6