summary refs log tree commit diff
path: root/src/UserInfoWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UserInfoWidget.cpp')
-rw-r--r--src/UserInfoWidget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/UserInfoWidget.cpp b/src/UserInfoWidget.cpp

index f455b509..f24f2d79 100644 --- a/src/UserInfoWidget.cpp +++ b/src/UserInfoWidget.cpp
@@ -48,9 +48,8 @@ UserInfoWidget::UserInfoWidget(QWidget *parent) avatarLayout_ = new QHBoxLayout(); textLayout_ = new QVBoxLayout(); - textLayout_->setSpacing(widgetMargin); - textLayout_->setContentsMargins( - widgetMargin * 1.5, widgetMargin, widgetMargin, widgetMargin); + textLayout_->setSpacing(widgetMargin / 2); + textLayout_->setContentsMargins(widgetMargin * 2, widgetMargin, widgetMargin, widgetMargin); userAvatar_ = new Avatar(this); userAvatar_->setObjectName("userAvatar");