Skip to content
Snippets Groups Projects
Verified Commit 30aedd36 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Reenable reuseItems for the message view

If this is still broken, we will need to disable it again.
parent c7545cb4
No related branches found
No related tags found
No related merge requests found
Pipeline #1799 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment