mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5827
Mick Sayson (1): fix(chatlog): Prepare geometry changes on chatline proxy
This commit is contained in:
commit
31f1c746b6
@ -78,6 +78,7 @@ QWidget* ChatLineContentProxy::getWidget() const
|
||||
|
||||
void ChatLineContentProxy::setWidth(qreal width)
|
||||
{
|
||||
prepareGeometryChange();
|
||||
proxy->widget()->setFixedWidth(qMax(static_cast<int>(width * widthPercent), widthMin));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user