forked from qt-creator/qt-creator
Layouting: Handle attach types via setter
Change-Id: I862f5cd109db3582b4f029787ec0cded2da39ce6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -96,8 +96,9 @@ public:
|
||||
|
||||
Form {
|
||||
Tr::tr("Name:"), m_name, br,
|
||||
Tr::tr("Executable"), m_executable
|
||||
}.attachTo(this, WithoutMargins);
|
||||
Tr::tr("Executable"), m_executable,
|
||||
noMargin
|
||||
}.attachTo(this);
|
||||
}
|
||||
|
||||
void updateInterpreter(const Interpreter &interpreter)
|
||||
|
||||
@@ -118,8 +118,9 @@ PythonWizardPage::PythonWizardPage(const QList<QPair<QString, QVariant>> &pySide
|
||||
m_interpreter, br,
|
||||
m_createVenv, br,
|
||||
m_venvPath, br,
|
||||
m_stateLabel, br
|
||||
}.attachTo(this, WithoutMargins);
|
||||
m_stateLabel, br,
|
||||
noMargin
|
||||
}.attachTo(this);
|
||||
}
|
||||
|
||||
void PythonWizardPage::initializePage()
|
||||
|
||||
Reference in New Issue
Block a user