From: Camila Ayres Date: Wed, 11 Sep 2024 13:45:09 +0000 (+0200) Subject: Fix caret-down icon theme, size and alignment. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~18^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19e57524461846770aa45acfa1c73fbac11bde66;p=nextcloud-desktop.git Fix caret-down icon theme, size and alignment. Signed-off-by: Camila Ayres --- diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index f1ac084f0..c7eb6732b 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 7370e6a71..796e2b63a 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