From 391473e559c75b79bf51c596754f0d7a0bf30648 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Wed, 22 Aug 2018 23:28:59 +0800 Subject: [PATCH] Remove ItemDelegate in RoomListForm. --- qml/form/RoomListForm.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/form/RoomListForm.qml b/qml/form/RoomListForm.qml index 4e89833..3a16be6 100644 --- a/qml/form/RoomListForm.qml +++ b/qml/form/RoomListForm.qml @@ -124,7 +124,7 @@ Item { ScrollBar.vertical: ScrollBar { id: scrollBar } - delegate: ItemDelegate { + delegate: Item { width: parent.width height: 80 @@ -146,7 +146,7 @@ Item { visible: unreadCount > 0 } - contentItem: RowLayout { + RowLayout { anchors.fill: parent anchors.margins: 16 spacing: 16