Adjust the widget size of the room list items

This commit is contained in:
Konstantinos Sideris 2018-10-06 17:21:03 +03:00
parent 420937ab83
commit 844443a324
7 changed files with 100 additions and 70 deletions

View file

@ -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");