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:
Alessandro Portale
2021-12-01 20:31:08 +01:00
parent fd768cf55e
commit df1876f0d0
6 changed files with 42 additions and 0 deletions

View File

@@ -57,12 +57,14 @@ ProjectTestSettingsWidget::ProjectTestSettingsWidget(ProjectExplorer::Project *p
, m_projectSettings(AutotestPlugin::projectSettings(project))
{
auto verticalLayout = new QVBoxLayout(this);
verticalLayout->setContentsMargins(0, 0, 0, 0);
m_useGlobalSettings = new QComboBox;
m_useGlobalSettings->addItem(tr("Global"));
m_useGlobalSettings->addItem(tr("Custom"));
auto generalWidget = new QWidget;
auto groupBoxLayout = new QVBoxLayout;
groupBoxLayout->setContentsMargins(0, 0, 0, 0);
m_activeFrameworks = new QTreeWidget;
m_activeFrameworks->setHeaderHidden(true);
m_activeFrameworks->setRootIsDecorated(false);