Commit dcaf7980 authored by jkobus's avatar jkobus Committed by Jarek Kobus
Browse files

AddLibraryWizard: wrap text on snippets label



In this way dialog doesn't grow in width when the label contains long
lines.

Change-Id: Ibd5906912c18c8e4b27959ff5a7aeda258d6995a
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c24eed11
......@@ -275,6 +275,7 @@ SummaryPage::SummaryPage(AddLibraryWizard *parent)
QVBoxLayout *layout = new QVBoxLayout(this);
m_summaryLabel = new QLabel(this);
m_snippetLabel = new QLabel(this);
m_snippetLabel->setWordWrap(true);
layout->addWidget(m_summaryLabel);
layout->addWidget(m_snippetLabel);
m_summaryLabel->setTextFormat(Qt::RichText);
......
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