Hide the subtitle text for room delegates if there is none
This centers the room name label for room list items, which looks a bit cleaner than nothing being there at all.
This commit is contained in:
committed by
Tobias Fella
parent
f963e06983
commit
1f69a96766
@@ -90,7 +90,7 @@ Delegates.RoundedItemDelegate {
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font: Kirigami.Theme.smallFont
|
font: Kirigami.Theme.smallFont
|
||||||
opacity: root.hasNotifications ? 0.9 : 0.7
|
opacity: root.hasNotifications ? 0.9 : 0.7
|
||||||
visible: !Config.compactRoomList
|
visible: !Config.compactRoomList && text.length > 0
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.PlainText
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
Reference in New Issue
Block a user