Minor layout adjustments
authorDominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Thu, 16 Jan 2020 14:19:17 +0000 (15:19 +0100)
committerDominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Thu, 16 Jan 2020 14:19:17 +0000 (15:19 +0100)
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
src/gui/systray.cpp
src/gui/tray/ActivityListModel.h
src/gui/tray/Window.qml

index 6becf1662c4ccaf7534a9c19a4e75191eb56cc12..be0253ddba64fb5b0c8780b70b012a610f01464b 100644 (file)
@@ -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
 }
index c55797d7024ba8bd281550e1a6a042001fb9f1cd..e6e68cba4091bbdc7f8aabedf595bc2c8b7a7b6d 100644 (file)
@@ -52,7 +52,7 @@ public:
     LinkRole,
     PointInTimeRole,
     AccountConnectedRole,
-    SyncFileStatusRole };
+    SyncFileStatusRole};
 
     explicit ActivityListModel(AccountState *accountState, QObject* parent = 0);
 
index a7a16742c59041a7a57f23e6f312a3c887d664d2..6b922e2c18d2e87262dc0e151123ce44e715c2f4 100644 (file)
@@ -11,7 +11,7 @@ Window {
     id: trayWindow\r
     visible: true\r
     width: 400\r
-    height: 500\r
+    height: 510\r
     color: "transparent"\r
     flags: Qt.FramelessWindowHint\r
 \r