Reenable reuseItems for the message view
If this is still broken, we will need to disable it again.
This commit is contained in:
parent
c7545cb455
commit
30aedd36a1
@ -25,8 +25,8 @@ ScrollView {
|
||||
|
||||
model: room
|
||||
// reuseItems still has a few bugs, see https://bugreports.qt.io/browse/QTBUG-95105 https://bugreports.qt.io/browse/QTBUG-95107
|
||||
//onModelChanged: if (room) room.sendReset()
|
||||
//reuseItems: true
|
||||
onModelChanged: if (room) room.sendReset()
|
||||
reuseItems: true
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
pixelAligned: true
|
||||
spacing: 4
|
||||
@ -361,7 +361,7 @@ ScrollView {
|
||||
|
||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||
width: chat.delegateMaxWidth
|
||||
height: section ? section.height + timelinerow.height : timelinerow.height
|
||||
height: Math.max(section.active ? section.height + timelinerow.height : timelinerow.height, 10)
|
||||
|
||||
Rectangle {
|
||||
id: scrollHighlight
|
||||
|
@ -3,11 +3,11 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import ".."
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Layouts 1.2
|
||||
import im.nheko 1.0
|
||||
|
||||
ColumnLayout {
|
||||
Column {
|
||||
id: r
|
||||
|
||||
required property int encryptionError
|
||||
|
@ -34,7 +34,7 @@ Item {
|
||||
required property int encryptionError
|
||||
required property int relatedEventCacheBuster
|
||||
|
||||
height: chooser.child.height
|
||||
height: Math.max(chooser.child.height, 20)
|
||||
|
||||
DelegateChooser {
|
||||
id: chooser
|
||||
|
Loading…
Reference in New Issue
Block a user