mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
General settings: Set left margin of layout to zero.
This fixes the vertical alignment of the checkboxes, see bug #3758
This commit is contained in:
parent
df534753b1
commit
98e6d61d1b
1 changed files with 7 additions and 0 deletions
|
@ -69,6 +69,13 @@ GeneralSettings::GeneralSettings(QWidget *parent) :
|
|||
_ui->crashreporterCheckBox->setVisible(false);
|
||||
#endif
|
||||
|
||||
/* Set the left contents margin of the layout to zero to make the checkboxes
|
||||
* align properly vertically , fixes bug #3758
|
||||
*/
|
||||
int m0, m1, m2, m3;
|
||||
_ui->horizontalLayout_3->getContentsMargins( &m0, &m1, &m2, &m3 );
|
||||
_ui->horizontalLayout_3->setContentsMargins(0, m1, m2, m3 );
|
||||
|
||||
// OEM themes are not obliged to ship mono icons, so there
|
||||
// is no point in offering an option
|
||||
QString themeDir = QString::fromLatin1(":/client/theme/%1/")
|
||||
|
|
Loading…
Reference in a new issue