From 7a96e8a292c9d543ce772a5aadb76d36157b7dd2 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Thu, 27 Jul 2017 10:53:17 +0200 Subject: [PATCH] General settings: Put all advanced checkboxes in a layout The mac style has the concept of Layout Item Rectangle that bleeds widgets margins into parent margins. This unfortunately doesn't work when the parent layout doesn't have any margin, like we do when we have the hierarchy: Vertical(normal margin) / Horizontal(no margin, uses parent layout spacing) /Widget I guess Qt should propagate remaining uneaten margins to grand-parent layouts and so on to have this work properly, but nobody seems to have touched that code since Qt 4.4. So just try to make the problem less worse by making sure that all checkboxes we want to align are either in the same layout, or in a loyout of their own. Issue #5492 --- src/gui/generalsettings.ui | 202 +++++++++++++++++++------------------ 1 file changed, 105 insertions(+), 97 deletions(-) diff --git a/src/gui/generalsettings.ui b/src/gui/generalsettings.ui index 20f2c86d3..43d006fae 100644 --- a/src/gui/generalsettings.ui +++ b/src/gui/generalsettings.ui @@ -47,103 +47,6 @@ - - - - Advanced - - - - - - - - Edit &Ignored Files - - - - - - - Qt::Horizontal - - - - 555 - 20 - - - - - - - - - - - - Ask for confirmation before synchronizing folders larger than - - - true - - - - - - - 999999 - - - 99 - - - - - - - MB - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Ask for confirmation before synchronizing external storages - - - - - - - - 0 - 0 - - - - S&how crash reporter - - - - - - @@ -230,6 +133,111 @@ + + + + Advanced + + + + + + + + Edit &Ignored Files + + + + + + + Qt::Horizontal + + + + 555 + 20 + + + + + + + + + + + + Ask for confirmation before synchronizing folders larger than + + + true + + + + + + + 999999 + + + 99 + + + + + + + MB + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Ask for confirmation before synchronizing external storages + + + + + + + + + + + + 0 + 0 + + + + S&how crash reporter + + + + + + + + -- 2.30.2