diff --git a/src/plugins/projectexplorer/buildaspects.cpp b/src/plugins/projectexplorer/buildaspects.cpp index 606911654fd..7cfdb8fa7a5 100644 --- a/src/plugins/projectexplorer/buildaspects.cpp +++ b/src/plugins/projectexplorer/buildaspects.cpp @@ -111,7 +111,7 @@ void BuildDirectoryAspect::addToLayout(Layouting::LayoutItem &parent) StringAspect::addToLayout(parent); d->problemLabel = new InfoLabel({}, InfoLabel::Warning); d->problemLabel->setElideMode(Qt::ElideNone); - parent.addItems({{}, d->problemLabel.data()}); + parent.addItems({Layouting::br, Layouting::empty, d->problemLabel.data()}); updateProblemLabel(); if (!d->sourceDir.isEmpty()) { connect(this, &StringAspect::checkedChanged, this, [this] {