From e69b2275de845d50f1c01334723bdcf1194a3b64 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 15 Nov 2024 18:30:29 +0800 Subject: [PATCH] Do not use magic numnbers for spacing of sync status icon Signed-off-by: Claudio Cambra --- src/gui/tray/SyncStatus.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/SyncStatus.qml b/src/gui/tray/SyncStatus.qml index 9dc67eda3..e30c6eb63 100644 --- a/src/gui/tray/SyncStatus.qml +++ b/src/gui/tray/SyncStatus.qml @@ -26,9 +26,9 @@ RowLayout { Layout.preferredHeight: size Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter - Layout.topMargin: 16 + Layout.topMargin: Style.trayHorizontalMargin Layout.rightMargin: whiteSpace * (0.5 + Style.thumbnailImageSizeReduction) - Layout.bottomMargin: 16 + Layout.bottomMargin: Style.trayHorizontalMargin Layout.leftMargin: Style.trayHorizontalMargin + (whiteSpace * (0.5 - Style.thumbnailImageSizeReduction)) padding: 0