diff --git a/src/libs/utils/detailswidget.cpp b/src/libs/utils/detailswidget.cpp index 06159b101e1..062320846d7 100644 --- a/src/libs/utils/detailswidget.cpp +++ b/src/libs/utils/detailswidget.cpp @@ -110,9 +110,9 @@ DetailsWidgetPrivate::DetailsWidgetPrivate(QWidget *parent) : summaryLayout->addWidget(m_summaryLabelIcon); m_summaryLabel->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::LinksAccessibleByMouse); - m_summaryLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); + m_summaryLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Minimum); m_summaryLabel->setContentsMargins(0, 0, 0, 0); - summaryLayout->addWidget(m_summaryLabel); + summaryLayout->addWidget(m_summaryLabel, 1); m_summaryCheckBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); m_summaryCheckBox->setAttribute(Qt::WA_LayoutUsesWidgetRect); /* broken layout on mac otherwise */