forked from qt-creator/qt-creator
Fix layouts for OSX: Set the obligatory ExpandingFieldsGrow
In Qt Creator, we want line edits to take up the free horizontal space. Change-Id: I4ff78035ab2481cc2f944fc02569638f06f0b090 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -275,6 +275,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent
|
||||
editTargetLabel->setBuddy(m_targetChooser);
|
||||
m_targetChooser->setToolTip(targetToolTip);
|
||||
editLayout->addRow(editTargetLabel, m_targetChooser);
|
||||
editLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
|
||||
|
||||
auto chooser = new Core::VariableChooser(this);
|
||||
chooser->addSupportedWidget(m_targetChooser->lineEdit());
|
||||
|
||||
Reference in New Issue
Block a user