Added QSizePolicy to the labels in user info
authorKatri Kaikkonen <katri.kaikkonen@ixonos.com>
Wed, 1 Sep 2010 13:07:50 +0000 (16:07 +0300)
committerKatri Kaikkonen <katri.kaikkonen@ixonos.com>
Wed, 1 Sep 2010 13:07:50 +0000 (16:07 +0300)
Reviewed by Sami Rämö

src/ui/userinfo.cpp

index 31aaafc..de6e209 100644 (file)
@@ -80,10 +80,13 @@ UserInfo::UserInfo(QWidget *parent)
 
     m_statusTextLabel = new QLabel();
     m_statusTextLabel->setWordWrap(true);
+    m_statusTextLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
     m_locationLabel = new QLabel();
     m_locationLabel->setWordWrap(true);
+    m_locationLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
     m_updatedLabel = new QLabel();
     m_updatedLabel->setWordWrap(true);
+    m_updatedLabel->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
 
     infoLayout->addRow(envelopeLabel, m_statusTextLabel);
     infoLayout->addRow(compassLabel, m_locationLabel);