From 0a61f4800e46dcc6e1856403217f23cc4ab160a0 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 14 Nov 2024 17:44:01 +0800 Subject: [PATCH] Improve spacings of userline Signed-off-by: Claudio Cambra --- src/gui/tray/UserLine.qml | 2 +- theme/Style/Style.qml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/UserLine.qml b/src/gui/tray/UserLine.qml index 58dbdfb85..7c22c7ae8 100644 --- a/src/gui/tray/UserLine.qml +++ b/src/gui/tray/UserLine.qml @@ -36,7 +36,7 @@ AbstractButton { contentItem: RowLayout { id: userLineLayout - spacing: Style.userStatusSpacing + spacing: Style.userLineSpacing Image { id: accountAvatar diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index 61df414b8..a41247831 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -105,7 +105,7 @@ QtObject { property int activityListButtonWidth: 42 property int activityListButtonHeight: 32 property int activityListButtonIconSize: 18 - property int headerButtonIconSize: 32 + property int headerButtonIconSize: 48 property int addButtonIconSize: 26 property int dismissButtonSize: 26 property int minimumActivityItemHeight: 24 @@ -129,6 +129,7 @@ QtObject { property int userStatusEmojiSize: 8 property int userStatusSpacing: trayHorizontalMargin property int userStatusAnchorsMargin: 2 + property int userLineSpacing: smallSpacing property int accountServerAnchorsMargin: 10 property int accountLabelsSpacing: 4 property int accountLabelsAnchorsMargin: 7