Mac has a different default value, causing the fields to have
a static size.
Task-number: QTBUG-26222
Change-Id: Ib983162dbfd61d083c842f87eac1570ae7dc3a7a
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QFormLayout" name="formLayout" >
+ <property name="fieldGrowthPolicy">
+ <enum>QFormLayout::ExpandingFieldsGrow</enum>
+ </property>
<item row="0" column="1" >
<widget class="QLineEdit" name="m_lineEdit" >
<property name="minimumSize" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
+ <property name="fieldGrowthPolicy">
+ <enum>QFormLayout::ExpandingFieldsGrow</enum>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="textLabel">
<property name="text">
// Grid
QFormLayout *formLayout = new QFormLayout();
+ formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow); // Mac
formLayout->addRow(tr("Base class name:"), m_baseClassCombo);
formLayout->addRow(tr("Promoted class name:"), m_classNameEdit);
formLayout->addRow(tr("Header file:"), m_includeFileEdit);