From: Katri Kaikkonen Date: Wed, 1 Sep 2010 13:07:50 +0000 (+0300) Subject: Added QSizePolicy to the labels in user info X-Git-Tag: v2.0b-1~20 X-Git-Url: http://git.maemo.org/git/?p=situare;a=commitdiff_plain;h=31a586915b8389f6377da84b7f6c2c7aa3339ee7 Added QSizePolicy to the labels in user info Reviewed by Sami Rämö --- diff --git a/src/ui/userinfo.cpp b/src/ui/userinfo.cpp index 31aaafc..de6e209 100644 --- a/src/ui/userinfo.cpp +++ b/src/ui/userinfo.cpp @@ -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);