@@ -100,7 +100,7 @@ Drawer {
|
||||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
AutoListView {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ Rectangle {
|
||||
]
|
||||
}
|
||||
|
||||
ListView {
|
||||
AutoListView {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
@@ -102,7 +102,6 @@ Rectangle {
|
||||
|
||||
spacing: 1
|
||||
clip: true
|
||||
interactive: false
|
||||
|
||||
model: roomListProxyModel
|
||||
|
||||
@@ -137,12 +136,6 @@ Rectangle {
|
||||
}
|
||||
|
||||
RoomContextMenu { id: roomContextMenu }
|
||||
|
||||
ScrollHelper {
|
||||
anchors.fill: parent
|
||||
|
||||
flickable: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ RoomPanelForm {
|
||||
property int largestVisibleIndex: messageListView.count > 0 ? messageListView.indexAt(messageListView.contentX, messageListView.contentY + messageListView.height - 1) : -1
|
||||
|
||||
onContentYChanged: {
|
||||
console.log("Content Y changed.")
|
||||
if(currentRoom && messageListView.contentY - 5000 < messageListView.originY)
|
||||
currentRoom.getPreviousContent(50);
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ Item {
|
||||
id: roomHeader
|
||||
}
|
||||
|
||||
ListView {
|
||||
AutoListView {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.leftMargin: 16
|
||||
@@ -77,7 +77,6 @@ Item {
|
||||
displayMarginEnd: 40
|
||||
verticalLayoutDirection: ListView.BottomToTop
|
||||
spacing: 8
|
||||
interactive: false
|
||||
|
||||
boundsBehavior: Flickable.DragOverBounds
|
||||
|
||||
@@ -157,12 +156,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
ScrollHelper {
|
||||
anchors.fill: parent
|
||||
|
||||
flickable: parent
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
width: 64
|
||||
height: 64
|
||||
@@ -230,7 +223,7 @@ Item {
|
||||
|
||||
closePolicy: Dialog.CloseOnEscape | Dialog.CloseOnPressOutside
|
||||
|
||||
contentItem: ListView {
|
||||
contentItem: AutoListView {
|
||||
implicitHeight: Math.min(window.height - 64,
|
||||
readMarkerListView.contentHeight)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user