Skip to content

fix: avoid extra space in sync folders panel#9396

Merged
Rello merged 1 commit intofeature/settingsV2from
codex/remove-extra-space-in-sync-folders-panel
Jan 30, 2026
Merged

fix: avoid extra space in sync folders panel#9396
Rello merged 1 commit intofeature/settingsV2from
codex/remove-extra-space-in-sync-folders-panel

Conversation

@Rello
Copy link
Collaborator

@Rello Rello commented Jan 30, 2026

Motivation

  • The sync folders panel reserved extra vertical space below the add-folder row because the container and list could expand, so the panel should hug the list contents to remove the gap.

Description

  • Set the syncFoldersPanelContents widget vertical sizePolicy to Maximum and add sizeAdjustPolicy = QAbstractScrollArea::AdjustToContents for _folderList in src/gui/accountsettings.ui so the list sizes to its contents and the panel stops expanding.

Testing

  • No automated tests were run for this UI tweak; the UI file was updated and the change was committed successfully.

Codex Task

@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9396.zip

Digest: sha256:0d4877c6eb0f5d27a79f95fba5101dbc11a981e550ca9e75a709efaf0a5eacd2

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@Rello Rello merged commit c67f6ea into feature/settingsV2 Jan 30, 2026
16 of 17 checks passed
@Rello Rello deleted the codex/remove-extra-space-in-sync-folders-panel branch January 30, 2026 09:16
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant