[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeprint/management
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2006-10-20 22:25:09
Message-ID: 1161383109.425798.4778.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 597601 by pino:

set the word wrap for labels so they won't make their widgets wide as hell


 M  +1 -0      kmconfigcommand.cpp  
 M  +1 -0      kmconfigfilter.cpp  
 M  +1 -0      kmconfigpreview.cpp  


--- trunk/KDE/kdelibs/kdeprint/management/kmconfigcommand.cpp #597600:597601
@@ -43,6 +43,7 @@
 				"set of options, a set of requirements and associated mime types. "
 				"Here you can create new command objects and edit existing ones. All "
 				"changes will only be effective for you."), gb);
+	lab->setWordWrap(true);
 	KXmlCommandSelector	*sel = new KXmlCommandSelector(false, gb);
 
 	QVBoxLayout	*l0 = new QVBoxLayout(this);
--- trunk/KDE/kdelibs/kdeprint/management/kmconfigfilter.cpp #597600:597601
@@ -61,6 +61,7 @@
 			  "printers you want to see from the list on the left or enter a <b>Location</b> "
 			  "filter (ex: Group_1*). Both are cumulative and ignored if empty."));
 	lab->setTextFormat(Qt::RichText);
+	lab->setWordWrap(true);
 	QLabel	*lab1 = new QLabel(i18n("Location filter:"), box);
 
 	QVBoxLayout	*l0 = new QVBoxLayout(this);
--- trunk/KDE/kdelibs/kdeprint/management/kmconfigpreview.cpp #597600:597601
@@ -47,6 +47,7 @@
 					  "(KGhostView) cannot be found, KDE tries automatically to find another "
 					  "external PostScript viewer"));
 	lab->setTextFormat(Qt::RichText);
+	lab->setWordWrap(true);
 
 	QVBoxLayout	*l0 = new QVBoxLayout(this);
 	l0->setMargin(0);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic