Added wrapping of labels.
authorRoman Moravcik <roman.moravcik@gmail.com>
Wed, 29 Jun 2011 07:15:48 +0000 (09:15 +0200)
committerRoman Moravcik <roman.moravcik@gmail.com>
Wed, 29 Jun 2011 07:15:48 +0000 (09:15 +0200)
src/mainwindow.cpp

index 0253c38..6a41c92 100644 (file)
@@ -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);