From 6ac1a4a35354642db0f2b24dd5a99063f9717e3a Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Sun, 5 Jan 2020 21:31:09 +0100 Subject: [PATCH] Preps for UserLine submenu Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- src/gui/tray/UserLine.qml | 9 ++------- src/gui/tray/Window.qml | 2 +- theme.qrc | 1 + theme/black/caret-down.svg | 1 + 4 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 theme/black/caret-down.svg diff --git a/src/gui/tray/UserLine.qml b/src/gui/tray/UserLine.qml index 0d4fb0f08..be8a63775 100644 --- a/src/gui/tray/UserLine.qml +++ b/src/gui/tray/UserLine.qml @@ -12,7 +12,7 @@ MenuItem { } id: userLine - width: 216 + width: 220 height: 60 Rectangle { @@ -79,13 +79,8 @@ MenuItem { font.pixelSize: 10 } } - - Item { - id: userLineSpacer - Layout.fillWidth: true - } } - } + } // accountButton } } // Rectangle userLineBackground } // MenuItem userLine diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index d7bbe4a94..2e918319d 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -108,7 +108,7 @@ Window { id: accountMenu x: (currentAccountButton.x + 2) y: (currentAccountButton.y + currentAccountButton.height + 2) - width: (currentAccountButton.width - 4) + width: (currentAccountButton.width) closePolicy: "CloseOnPressOutside" background: Rectangle { diff --git a/theme.qrc b/theme.qrc index 8b593df98..e24188f30 100644 --- a/theme.qrc +++ b/theme.qrc @@ -135,5 +135,6 @@ theme/white/more-apps.svg theme/white/talk-app.svg theme/white/caret-down.svg + theme/black/caret-down.svg diff --git a/theme/black/caret-down.svg b/theme/black/caret-down.svg new file mode 100644 index 000000000..bc3a4e0c5 --- /dev/null +++ b/theme/black/caret-down.svg @@ -0,0 +1 @@ + -- 2.30.2