From 170bd78ff87d5319bf62965525ee4cf98c8ca5e5 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Thu, 25 Jun 2020 13:48:14 +0200 Subject: [PATCH] Wizard: Improve layout Instead of using a fixed size grid layout use a dynamic layout. Fixes: #7920 --- changelog/unreleased/7920 | 5 + src/gui/wizard/owncloudadvancedsetuppage.ui | 345 ++++++++++---------- 2 files changed, 176 insertions(+), 174 deletions(-) create mode 100644 changelog/unreleased/7920 diff --git a/changelog/unreleased/7920 b/changelog/unreleased/7920 new file mode 100644 index 0000000000..16985f075e --- /dev/null +++ b/changelog/unreleased/7920 @@ -0,0 +1,5 @@ +Change: The layout in the advanced account setup page might be broken + +We changed the way the elements are layed out + +https://github.com/owncloud/client/issues/7920 diff --git a/src/gui/wizard/owncloudadvancedsetuppage.ui b/src/gui/wizard/owncloudadvancedsetuppage.ui index deb2201128..b23b474ff3 100644 --- a/src/gui/wizard/owncloudadvancedsetuppage.ui +++ b/src/gui/wizard/owncloudadvancedsetuppage.ui @@ -60,56 +60,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - Server - - - Qt::AlignCenter - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - @@ -126,93 +76,6 @@ - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - 0 - 0 - - - - &Local Folder - - - Qt::AlignCenter - - - pbSelectLocalFolder - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - 0 - 0 - - - - - QLayout::SetMinimumSize - - - QFormLayout::ExpandingFieldsGrow - - - - - &Keep local data - - - true - - - - - - - <html><head/><body><p>If this box is checked, existing content in the local folder will be erased to start a clean sync from the server.</p><p>Do not check this if the local content should be uploaded to the servers folder.</p></body></html> - - - Start a &clean sync (Erases the local folder!) - - - true - - - - - - @@ -226,6 +89,19 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -273,61 +149,59 @@ - - - 0 - - + + Qt::Horizontal - - QSizePolicy::Minimum - - 10 + 40 20 - - + + - - - Ask for confirmation before synchroni&zing folders larger than - - + + + + + Ask for confirmation before synchroni&zing folders larger than + + + + + + + 999999 + + + 99 + + + + + + + MB + + + + - - - 999999 - - - 99 - - - - - + - MB + Ask for confirmation before synchronizing e&xternal storages - - - - Ask for confirmation before synchronizing e&xternal storages - - - @@ -452,6 +326,130 @@ + + + + + + TextLabel + + + Qt::AlignCenter + + + + + + + Server + + + Qt::AlignCenter + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + 0 + 0 + + + + + QLayout::SetMinimumSize + + + QFormLayout::ExpandingFieldsGrow + + + + + &Keep local data + + + true + + + + + + + <html><head/><body><p>If this box is checked, existing content in the local folder will be erased to start a clean sync from the server.</p><p>Do not check this if the local content should be uploaded to the servers folder.</p></body></html> + + + Start a &clean sync (Erases the local folder!) + + + true + + + + + + + + + + + + TextLabel + + + Qt::AlignCenter + + + + + + + + 0 + 0 + + + + &Local Folder + + + Qt::AlignCenter + + + pbSelectLocalFolder + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + @@ -487,7 +485,7 @@ 0 0 899 - 164 + 175 @@ -536,7 +534,6 @@ rSyncEverything confCheckBoxSize confSpinBox - confCheckBoxExternal rSelectiveSync bSelectiveSync rManualFolder