Add compact mode for sidepanes + setting

This commit is contained in:
miruka
2020-03-22 12:50:10 -04:00
parent c65d51b0e8
commit 5d513f84fa
8 changed files with 27 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ HTileDelegate {
userId: model.id
displayName: model.display_name
mxc: model.avatar_url
compact: account.compact
radius:
mainPane.small ?

View File

@@ -7,6 +7,7 @@ import ".."
import "../Base"
HTileDelegate {
id: room
backgroundColor: theme.mainPane.listView.room.background
opacity: model.left ? theme.mainPane.listView.room.leftRoomOpacity : 1
@@ -19,6 +20,7 @@ HTileDelegate {
roomId: model.id
displayName: model.display_name
mxc: model.avatar_url
compact: room.compact
radius:
mainPane.small ?