Fix messages sometimes not being rendered, when they are too large
This commit is contained in:
parent
6a2e8a6952
commit
2606568376
@ -13,7 +13,6 @@ ListView {
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
cacheBuffer: 400
|
||||
model: TimelineManager.timeline
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
pixelAligned: true
|
||||
|
@ -123,10 +123,6 @@ DelegateChooser::DelegateIncubator::statusChanged(QQmlIncubator::Status status)
|
||||
}
|
||||
|
||||
chooser.child_->setParentItem(&chooser);
|
||||
connect(chooser.child_, &QQuickItem::heightChanged, &chooser, [this]() {
|
||||
chooser.setHeight(chooser.child_->height());
|
||||
});
|
||||
chooser.setHeight(chooser.child_->height());
|
||||
QQmlEngine::setObjectOwnership(chooser.child_,
|
||||
QQmlEngine::ObjectOwnership::JavaScriptOwnership);
|
||||
emit chooser.childChanged();
|
||||
|
Loading…
Reference in New Issue
Block a user