mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
removed explicit maximum size that is not needed anymore and causes a bug on some Qt implementations
This commit is contained in:
parent
b8c14d6bc4
commit
943bd9b50e
@ -140,14 +140,8 @@ void ChannelPostThumbnailView::init(const RsGxsChannelPost& post)
|
|||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
|
|
||||||
mPostTitle->setFont(font);
|
mPostTitle->setFont(font);
|
||||||
|
|
||||||
mPostTitle->setMaximumWidth(W);
|
mPostTitle->setMaximumWidth(W);
|
||||||
mPostTitle->setMaximumHeight(3*fm.height());
|
|
||||||
mPostTitle->setWordWrap(true);
|
mPostTitle->setWordWrap(true);
|
||||||
mPostTitle->adjustSize();
|
|
||||||
|
|
||||||
setMinimumHeight(H + mPostTitle->height() + 0.5*fm.height());
|
|
||||||
setMaximumHeight(H + mPostTitle->height() + 0.5*fm.height());
|
|
||||||
}
|
}
|
||||||
setSizePolicy(QSizePolicy::MinimumExpanding,QSizePolicy::MinimumExpanding);
|
setSizePolicy(QSizePolicy::MinimumExpanding,QSizePolicy::MinimumExpanding);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user