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
|
model: room
|
||||||
// reuseItems still has a few bugs, see https://bugreports.qt.io/browse/QTBUG-95105 https://bugreports.qt.io/browse/QTBUG-95107
|
// 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()
|
onModelChanged: if (room) room.sendReset()
|
||||||
//reuseItems: true
|
reuseItems: true
|
||||||
boundsBehavior: Flickable.StopAtBounds
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
pixelAligned: true
|
pixelAligned: true
|
||||||
spacing: 4
|
spacing: 4
|
||||||
@ -361,7 +361,7 @@ ScrollView {
|
|||||||
|
|
||||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||||
width: chat.delegateMaxWidth
|
width: chat.delegateMaxWidth
|
||||||
height: section ? section.height + timelinerow.height : timelinerow.height
|
height: Math.max(section.active ? section.height + timelinerow.height : timelinerow.height, 10)
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: scrollHighlight
|
id: scrollHighlight
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import QtQuick 2.15
|
||||||
import QtQuick.Controls 2.1
|
import QtQuick.Controls 2.1
|
||||||
import QtQuick.Layouts 1.2
|
|
||||||
import im.nheko 1.0
|
import im.nheko 1.0
|
||||||
|
|
||||||
ColumnLayout {
|
Column {
|
||||||
id: r
|
id: r
|
||||||
|
|
||||||
required property int encryptionError
|
required property int encryptionError
|
||||||
|
@ -34,7 +34,7 @@ Item {
|
|||||||
required property int encryptionError
|
required property int encryptionError
|
||||||
required property int relatedEventCacheBuster
|
required property int relatedEventCacheBuster
|
||||||
|
|
||||||
height: chooser.child.height
|
height: Math.max(chooser.child.height, 20)
|
||||||
|
|
||||||
DelegateChooser {
|
DelegateChooser {
|
||||||
id: chooser
|
id: chooser
|
||||||
|
Loading…
Reference in New Issue
Block a user