Commit af835abd authored by Laurent Montel's avatar Laurent Montel 😁

Add stretch

parent 5f7eaaf3
......@@ -30,7 +30,10 @@ RegExpEditorWidget::RegExpEditorWidget(QWidget *parent)
QCheckBox *switchToRegexp = new QCheckBox(QStringLiteral("Switch to regexp line edit"), this);
layout->addWidget(switchToRegexp);
mLineEdit = new RegexpEditorLineEdit(this);
layout->addWidget(mLineEdit);
layout->addStretch(1);
connect(switchToRegexp, &QCheckBox::toggled, mLineEdit, &RegexpEditorLineEdit::switchToRegexpEditorLineEdit);
layout->addWidget(mLineEdit);
}
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