Adjust the widget size of the room list items
This commit is contained in:
parent
420937ab83
commit
844443a324
7 changed files with 100 additions and 70 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue