fix annoying horizontal overscroll on MacOS
This commit is contained in:
parent
57332553c4
commit
57070f12be
@ -41,7 +41,7 @@ RoomInfoListItem::RoomInfoListItem(RoomInfo info, QWidget *parent)
|
||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
setAutoFillBackground(true);
|
||||
|
||||
setMinimumSize(parent->width(), max_height_);
|
||||
setMaximumSize(parent->width(), max_height_);
|
||||
|
||||
topLayout_ = new QHBoxLayout(this);
|
||||
topLayout_->setSpacing(0);
|
||||
|
Loading…
Reference in New Issue
Block a user