Do not use magic numnbers for spacing of sync status icon

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-11-15 18:30:29 +08:00
parent 7c213de8d7
commit e69b2275de
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -26,9 +26,9 @@ RowLayout {
Layout.preferredHeight: size Layout.preferredHeight: size
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.topMargin: 16 Layout.topMargin: Style.trayHorizontalMargin
Layout.rightMargin: whiteSpace * (0.5 + Style.thumbnailImageSizeReduction) Layout.rightMargin: whiteSpace * (0.5 + Style.thumbnailImageSizeReduction)
Layout.bottomMargin: 16 Layout.bottomMargin: Style.trayHorizontalMargin
Layout.leftMargin: Style.trayHorizontalMargin + (whiteSpace * (0.5 - Style.thumbnailImageSizeReduction)) Layout.leftMargin: Style.trayHorizontalMargin + (whiteSpace * (0.5 - Style.thumbnailImageSizeReduction))
padding: 0 padding: 0