changeset 522:43ddfa5e9fd0

Word-wrap these labels
author Chris Cannam
date Tue, 15 Nov 2011 14:47:19 +0000
parents b5a342a71218
children d869e6a18f63
files src/workstatuswidget.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/workstatuswidget.cpp	Thu Nov 10 17:19:06 2011 +0000
+++ b/src/workstatuswidget.cpp	Tue Nov 15 14:47:19 2011 +0000
@@ -47,6 +47,7 @@
     f.setBold(true);
     m_openButton->setFont(f);
     m_openButton->setMouseUnderline(true);
+    m_openButton->setWordWrap(true);
     connect(m_openButton, SIGNAL(clicked()), this, SLOT(openButtonClicked()));
     layout->addWidget(m_openButton, row, 2, 1, 2, Qt::AlignLeft);
 
@@ -54,6 +55,7 @@
     layout->addWidget(new QLabel(tr("Remote:")), row, 1);
     m_remoteURLLabel = new QLabel;
     m_remoteURLLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
+    m_remoteURLLabel->setWordWrap(true);
     layout->addWidget(m_remoteURLLabel, row, 2, 1, 2);
 
     ++row;