Commit 3378b18f authored by con's avatar con
Browse files

Corrected field growth policies.

parent 60deb636
......@@ -68,6 +68,7 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
: m_ignoreChange(false), m_runConfiguration(rc)
{
QFormLayout *layout = new QFormLayout;
layout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
layout->setMargin(0);
m_userName = new QLineEdit(this);
......
......@@ -6,11 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>505</width>
<width>509</width>
<height>271</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="enabledGroupBox">
<property name="title">
......@@ -86,6 +92,7 @@
<class>Core::Utils::PathChooser</class>
<extends>QWidget</extends>
<header location="global">utils/pathchooser.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
......
......@@ -7,10 +7,16 @@
<x>0</x>
<y>0</y>
<width>235</width>
<height>64</height>
<height>78</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="makeLabel">
<property name="text">
......
......@@ -11,6 +11,12 @@
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
......@@ -20,6 +26,12 @@
</item>
<item row="0" column="1">
<widget class="QComboBox" name="buildConfigurationComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>debug</string>
......
......@@ -118,6 +118,7 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
m_isShown(false)
{
QFormLayout *toplayout = new QFormLayout();
toplayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
toplayout->setMargin(0);
QLabel *nameLabel = new QLabel(tr("Name:"));
......
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