Fix room list icon size in compact room list
BUG: 472682
(cherry picked from commit 3bd639775a)
This commit is contained in:
@@ -46,7 +46,7 @@ Delegates.RoundedItemDelegate {
|
|||||||
source: root.avatar ? "image://mxc/" + root.avatar : ""
|
source: root.avatar ? "image://mxc/" + root.avatar : ""
|
||||||
name: root.displayName
|
name: root.displayName
|
||||||
visible: Config.showAvatarInRoomDrawer
|
visible: Config.showAvatarInRoomDrawer
|
||||||
implicitHeight: Kirigami.Units.gridUnit + Kirigami.Units.largeSpacing * 2
|
implicitHeight: Kirigami.Units.gridUnit + (Config.compactRoomList ? 0 : Kirigami.Units.largeSpacing * 2)
|
||||||
implicitWidth: visible ? implicitHeight : 0
|
implicitWidth: visible ? implicitHeight : 0
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|||||||
Reference in New Issue
Block a user