From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Thu, 16 Jan 2020 14:19:17 +0000 (+0100) Subject: Minor layout adjustments X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~413^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b9a350e201e4d69e7ae832158977f1c260465b64;p=nextcloud-desktop.git Minor layout adjustments Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 6becf1662..be0253ddb 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -194,11 +194,11 @@ int Systray::calcTrayWindowY() return (screenHeight - availableHeight) + 6; } else { // on bottom - return screenHeight - 500 - (screenHeight - availableHeight) - 6; + return screenHeight - 510 - (screenHeight - availableHeight) - 6; } } else { // on the left or right - return (trayIconTopCenterY - 500 + 12); + return (trayIconTopCenterY - 510 + 12); } #endif } diff --git a/src/gui/tray/ActivityListModel.h b/src/gui/tray/ActivityListModel.h index c55797d70..e6e68cba4 100644 --- a/src/gui/tray/ActivityListModel.h +++ b/src/gui/tray/ActivityListModel.h @@ -52,7 +52,7 @@ public: LinkRole, PointInTimeRole, AccountConnectedRole, - SyncFileStatusRole }; + SyncFileStatusRole}; explicit ActivityListModel(AccountState *accountState, QObject* parent = 0); diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index a7a16742c..6b922e2c1 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -11,7 +11,7 @@ Window { id: trayWindow visible: true width: 400 - height: 500 + height: 510 color: "transparent" flags: Qt.FramelessWindowHint