Commit 2afea9dd authored by con's avatar con
Browse files

CMake project settings margins and field growths.

parent 579fe76f
...@@ -713,6 +713,8 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeProject *project) ...@@ -713,6 +713,8 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeProject *project)
: m_project(project) : m_project(project)
{ {
QFormLayout *fl = new QFormLayout(this); QFormLayout *fl = new QFormLayout(this);
fl->setContentsMargins(0, -1, 0, -1);
fl->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
setLayout(fl); setLayout(fl);
m_pathLineEdit = new QLineEdit(this); m_pathLineEdit = new QLineEdit(this);
m_pathLineEdit->setReadOnly(true); m_pathLineEdit->setReadOnly(true);
......
...@@ -237,6 +237,8 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration * ...@@ -237,6 +237,8 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
{ {
QFormLayout *fl = new QFormLayout(); QFormLayout *fl = new QFormLayout();
fl->setMargin(0);
fl->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
QLineEdit *argumentsLineEdit = new QLineEdit(); QLineEdit *argumentsLineEdit = new QLineEdit();
argumentsLineEdit->setText(ProjectExplorer::Environment::joinArgumentList(cmakeRunConfiguration->commandLineArguments())); argumentsLineEdit->setText(ProjectExplorer::Environment::joinArgumentList(cmakeRunConfiguration->commandLineArguments()));
connect(argumentsLineEdit, SIGNAL(textChanged(QString)), connect(argumentsLineEdit, SIGNAL(textChanged(QString)),
...@@ -259,6 +261,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration * ...@@ -259,6 +261,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
fl->addRow(tr("Working Directory:"), boxlayout); fl->addRow(tr("Working Directory:"), boxlayout);
QVBoxLayout *vbx = new QVBoxLayout(this); QVBoxLayout *vbx = new QVBoxLayout(this);
vbx->setContentsMargins(0, -1, 0, -1);
vbx->addLayout(fl); vbx->addLayout(fl);
QLabel *environmentLabel = new QLabel(this); QLabel *environmentLabel = new QLabel(this);
......
...@@ -153,6 +153,8 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep) ...@@ -153,6 +153,8 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep)
: m_makeStep(makeStep) : m_makeStep(makeStep)
{ {
QFormLayout *fl = new QFormLayout(this); QFormLayout *fl = new QFormLayout(this);
fl->setMargin(0);
fl->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
setLayout(fl); setLayout(fl);
m_additionalArguments = new QLineEdit(this); m_additionalArguments = new QLineEdit(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment