From f89dfaa31838f77ba2360e82e97d8b533f619900 Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Fri, 10 Oct 2003 12:56:02 +0000 Subject: [PATCH] Wrap if translated string doesn't have rich text elements in text. svn path=/trunk/kdebase/kwin/; revision=257721 --- kcmkwin/kwindecoration/kwindecoration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kcmkwin/kwindecoration/kwindecoration.cpp b/kcmkwin/kwindecoration/kwindecoration.cpp index 3e25e9cd8e..9b4f75d68e 100644 --- a/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kcmkwin/kwindecoration/kwindecoration.cpp @@ -143,6 +143,7 @@ KWinDecorationModule::KWinDecorationModule(QWidget* parent, const char* name, co // Add nifty dnd button modification widgets QLabel* label = new QLabel( buttonBox ); dropSite = new ButtonDropSite( buttonBox ); + label->setAlignment( int( QLabel::WordBreak ) ); label->setText( i18n( "To add or remove titlebar buttons, simply drag items " "between the available item list and the titlebar preview. Similarly, " "drag items within the titlebar preview to re-position them.") );