forked from qt-creator/qt-creator
Remove nested margins in project panel wigets
While maintaining the margins in the respective option pages. Change-Id: Ia7c0e9f68ab196be0d68632117041eca9f4b15f5 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -245,6 +245,7 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD
|
||||
"If the document changes again while waiting, this timeout resets.\n"));
|
||||
|
||||
const auto layout = new QVBoxLayout(this);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(&d->useClangdCheckBox);
|
||||
const auto formLayout = new QFormLayout;
|
||||
const auto chooserLabel = new QLabel(tr("Path to executable:"));
|
||||
@@ -442,6 +443,7 @@ ClangdProjectSettingsWidget::ClangdProjectSettingsWidget(const ClangdProjectSett
|
||||
: d(new Private(settings))
|
||||
{
|
||||
const auto layout = new QVBoxLayout(this);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
const auto globalSettingsLayout = new QHBoxLayout;
|
||||
globalSettingsLayout->addWidget(&d->useGlobalSettingsCheckBox);
|
||||
const auto globalSettingsLabel = new QLabel("Use <a href=\"dummy\">global settings</a>");
|
||||
|
||||
Reference in New Issue
Block a user