summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-05-24 08:06:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-05-24 08:06:11 (GMT)
commitd10142f4acd2d3ae31c40d07f68c77a43095f82a (patch)
tree65636be9f2bb39a252f80fd4582b70f38f7c3aef /Swift
parent175980a4c93e76268934133732d79720b12a6dff (diff)
downloadswift-d10142f4acd2d3ae31c40d07f68c77a43095f82a.zip
swift-d10142f4acd2d3ae31c40d07f68c77a43095f82a.tar.bz2
Fiddle with the roster header layout a bit.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtRosterHeader.cpp12
1 files changed, 6 insertions, 6 deletions
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);