From 05e16670e01ad13710c3198091a3f2be05f62dd5 Mon Sep 17 00:00:00 2001 From: Roman Moravcik Date: Wed, 29 Jun 2011 09:15:48 +0200 Subject: [PATCH] Added wrapping of labels. --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0253c38..6a41c92 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -48,10 +48,12 @@ MainWindow::MainWindow(QGraphicsItem *parent) : MApplicationPage(parent) m_forecastInitialDateLabel = new MLabel(); m_forecastInitialDateLabel->setAlignment(Qt::AlignCenter); + m_forecastInitialDateLabel->setWordWrap(true); // m_forecastInitialDateLabel->setDisabled(true); m_forecastDateLabel = new MLabel(); m_forecastDateLabel->setAlignment(Qt::AlignCenter); + m_forecastDateLabel->setWordWrap(true); m_downloadRetryButton = new MButton(tr("Download again")); m_downloadRetryButton->setPreferredWidth(220); -- 1.7.9.5