Fix grid layout for sync status of file provider

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-01-15 02:28:09 +08:00
parent ed12541e15
commit 034822fcc6
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -27,6 +27,8 @@ GridLayout {
required property var syncStatus
rows: syncStatus.syncing ? 2 : 1
EnforcedPlainTextLabel {
Layout.row: 0
Layout.column: 1
@ -41,7 +43,7 @@ GridLayout {
property int size: Style.trayListItemIconSize * 0.6
Layout.row: 0
Layout.rowSpan: 2
Layout.rowSpan: root.syncStatus.syncing ? 2 : 1
Layout.column: 0
Layout.preferredWidth: size
Layout.preferredHeight: size