diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index 061636cf427..e4f4098c5ff 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -1277,7 +1277,7 @@ public: m_overrideCheckBox.setText(tr("Override for code model")); m_overrideCheckBox.setToolTip(tr("Check this button in the rare case that the code model\n" "fails because clang does not understand the target architecture.")); - layout->addWidget(&m_tripleLineEdit); + layout->addWidget(&m_tripleLineEdit, 1); layout->addWidget(&m_overrideCheckBox); layout->addStretch(1);