diff --git a/src/qml/RoomDelegate.qml b/src/qml/RoomDelegate.qml index 79b6c3013..eeb05f2ec 100644 --- a/src/qml/RoomDelegate.qml +++ b/src/qml/RoomDelegate.qml @@ -10,10 +10,11 @@ import org.kde.kirigami as Kirigami import org.kde.kirigamiaddons.delegates as Delegates import org.kde.kirigamiaddons.labs.components as Components import org.kde.kitemmodels +import org.kde.desktop.private as Private import org.kde.neochat -Delegates.RoundedItemDelegate { +QQC2.ItemDelegate { id: root required property int index @@ -145,6 +146,11 @@ Delegates.RoundedItemDelegate { } } + background: Private.DefaultListItemBackground { + control: root + styling: Private.DefaultListItemBackground.Styling.List + } + function createRoomListContextMenu() { const component = Qt.createComponent('org.kde.neochat', 'ContextMenu'); if (component.status === Component.Error) { diff --git a/src/qml/RoomListPage.qml b/src/qml/RoomListPage.qml index 0fbe291af..6593485b6 100644 --- a/src/qml/RoomListPage.qml +++ b/src/qml/RoomListPage.qml @@ -131,6 +131,7 @@ Kirigami.Page { id: treeView topMargin: Math.round(Kirigami.Units.smallSpacing / 2) + alternatingRows: false clip: true reuseItems: false