forked from qt-creator/qt-creator
CMake project settings margins and field growths.
This commit is contained in:
@@ -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 *
|
|||||||
{
|
{
|
||||||
|
|
||||||
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 *
|
|||||||
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)
|
|||||||
: 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user