Message info
 
To:kde-commits@kde.org From:Daniele E. Domenichelli Subject:[ktp-accounts-kcm] src: Set word wrap to true for labels Date:Fri, 30 Mar 2012 17:58:08 +0200 (CEST)
 

Git commit c8ef5be106857b6833d6cecac6c76f7e68dceec5 by Daniele E. Domenichelli.
Committed on 27/02/2012 at 23:57.
Pushed by ddomenichelli into branch 'master'.

Set word wrap to true for labels

M +2 -0 src/edit-display-name-button.cpp

http://commits.kde.org/telepathy-accounts-kcm/c8ef5be106857b6833d6cecac6c76f7e68dceec5

diff --git a/src/edit-display-name-button.cpp b/src/edit-display-name-button.cpp
index e3365dd..eb3e3f6 100644
--- a/src/edit-display-name-button.cpp
+++ b/src/edit-display-name-button.cpp
@@ -71,6 +71,7 @@ EditDisplayNameDialog::EditDisplayNameDialog(Tp::AccountPtr account,
QHBoxLayout *topLayout = new QHBoxLayout(this);

QLabel *topLabel = new QLabel(i18n("Choose a new display name for your account"), this);
+ topLabel->setWordWrap(true);
QFont font = topLabel->font();
font.setBold(true);
topLabel->setFont(font);
@@ -89,6 +90,7 @@ EditDisplayNameDialog::EditDisplayNameDialog(Tp::AccountPtr account,
mainLayout->addWidget(m_displayNameLineEdit);

QLabel *bottomLabel = new QLabel(i18n("A display name is your local alias for the account, only you will see it."), this);
+ bottomLabel->setWordWrap(true);
mainLayout->addWidget(bottomLabel);

QWidget * mainWidget = new QWidget(this);