From b1812bc318c1fe098cedce161af104e044989298 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Wed, 11 Sep 2024 15:45:09 +0200 Subject: [PATCH] Fix caret-down icon theme, size and alignment. Signed-off-by: Camila Ayres --- src/gui/tray/Window.qml | 3 ++- theme/Style/Style.qml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index f1ac084f0923..c7eb6732bb84 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -508,7 +508,8 @@ ApplicationWindow { Image { Layout.alignment: Qt.AlignRight verticalAlignment: Qt.AlignCenter - Layout.margins: Style.accountDropDownCaretMargin + horizontalAlignment: Qt.AlignRight + Layout.leftMargin: Style.accountDropDownCaretMargin source: "image://svgimage-custom-color/caret-down.svg/" + palette.windowText sourceSize.width: Style.accountDropDownCaretSize sourceSize.height: Style.accountDropDownCaretSize diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index 7370e6a71b1c..796e2b63a68a 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -93,7 +93,7 @@ QtObject { property int folderStateIndicatorSize: 16 property int accountLabelWidth: 128 - property int accountDropDownCaretSize: 20 + property int accountDropDownCaretSize: 10 property int accountDropDownCaretMargin: 8 property int trayFoldersMenuButtonStateIndicatorBottomOffset: 5