Skip to content

Commit

Permalink
Fix caret-down icon theme, size and alignment.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Sep 11, 2024
1 parent 0d7df3c commit b1812bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion theme/Style/Style.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1812bc

Please sign in to comment.