diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 6a7051a092a27..986ca7f8786f0 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -205,6 +205,7 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) const auto fpAccountUserIdAtHost = _accountState->account()->userIdAtHostWithPort(); const auto fpSettingsController = Mac::FileProviderSettingsController::instance(); const auto fpSettingsWidget = fpSettingsController->settingsViewWidget(fpAccountUserIdAtHost, fileProviderTab); + fpSettingsLayout->setContentsMargins(0, 0, 0, 0); fpSettingsLayout->addWidget(fpSettingsWidget); fileProviderTab->setLayout(fpSettingsLayout); } @@ -220,6 +221,7 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) const auto connectionSettingsTab = _ui->connectionSettingsTab; const auto connectionSettingsLayout = new QVBoxLayout(connectionSettingsTab); const auto networkSettings = new NetworkSettings(_accountState->account(), connectionSettingsTab); + connectionSettingsLayout->setContentsMargins(0, 0, 0, 0); connectionSettingsLayout->addWidget(networkSettings); connectionSettingsTab->setLayout(connectionSettingsLayout); diff --git a/src/gui/macOS/ui/FileProviderSettings.qml b/src/gui/macOS/ui/FileProviderSettings.qml index 35b51f43246b4..e7d2e1ee5fbd2 100644 --- a/src/gui/macOS/ui/FileProviderSettings.qml +++ b/src/gui/macOS/ui/FileProviderSettings.qml @@ -25,7 +25,7 @@ import com.nextcloud.desktopclient 1.0 Page { id: root - property bool showBorder: true + property bool showBorder: false property var controller: FileProviderSettingsController property string accountUserIdAtHost: ""