Skip to content

fix: align account settings tab backgrounds#38

Merged
Rello merged 1 commit intocodex/rebuild-settings-screen-with-left-menufrom
codex/locate-#accounttabspanel-content-management
Jan 19, 2026
Merged

fix: align account settings tab backgrounds#38
Rello merged 1 commit intocodex/rebuild-settings-screen-with-left-menufrom
codex/locate-#accounttabspanel-content-management

Conversation

@Rello
Copy link
Owner

@Rello Rello commented Jan 19, 2026

Motivation

  • QTabWidget pane and tab pages had inconsistent backgrounds causing visual mismatch in the account settings dialog.
  • File Provider and Connection Settings content did not reliably stretch to fill the tab area, leading to unused space or clipped QML content.
  • A QSizePolicy include was required to set the expanding policy for the embedded QML widget.

Description

  • Updated the QTabWidget stylesheet to use palette(alternate-base) for the pane and for #standardSyncTab, #fileProviderTab, and #connectionSettingsTab.
  • Enabled setAutoFillBackground(true) and set Qt::WA_StyledBackground on the three tab pages to ensure the styled backgrounds are applied.
  • Set QVBoxLayout::setSpacing(0), applied QSizePolicy::Expanding to the file provider QML widget, and added the File Provider and Network Settings widgets with stretch 1 so they fill the available space.
  • Added #include <QSizePolicy> to support the size policy usage.

Testing

  • No automated tests were run.

Codex Task

@github-actions
Copy link

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

Digest: sha256:64691b92fbd205a9c38d8ef8fc58806727a7e302ee9b1c5234b5adecbace3475

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 75e42ca into codex/rebuild-settings-screen-with-left-menu Jan 19, 2026
12 of 18 checks passed
@Rello Rello deleted the codex/locate-#accounttabspanel-content-management branch January 19, 2026 09:47
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