[rkward-cvs] SF.net SVN: rkward:[2648] trunk/rkward/rkward/robjectviewer.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Sep 15 11:09:19 UTC 2009


Revision: 2648
          http://rkward.svn.sourceforge.net/rkward/?rev=2648&view=rev
Author:   tfry
Date:     2009-09-15 11:09:19 +0000 (Tue, 15 Sep 2009)

Log Message:
-----------
Do not try to force all function args into a single line. See https://sourceforge.net/tracker/?func=detail&atid=459007&aid=2859182&group_id=50231d

Modified Paths:
--------------
    trunk/rkward/rkward/robjectviewer.cpp

Modified: trunk/rkward/rkward/robjectviewer.cpp
===================================================================
--- trunk/rkward/rkward/robjectviewer.cpp	2009-09-11 16:51:37 UTC (rev 2647)
+++ trunk/rkward/rkward/robjectviewer.cpp	2009-09-15 11:09:19 UTC (rev 2648)
@@ -2,7 +2,7 @@
                           robjectviewer  -  description
                              -------------------
     begin                : Tue Aug 24 2004
-    copyright            : (C) 2004, 2007 by Thomas Friedrichsmeier
+    copyright            : (C) 2004, 2007, 2009 by Thomas Friedrichsmeier
     email                : tfry at users.sourceforge.net
  ***************************************************************************/
 
@@ -126,8 +126,8 @@
 	if (!_object) return;
 
 	setCaption (i18n("Object Viewer: %1", _object->getShortName ()));
-	// TODO: what an ugly hack... This should be the job of RObject::getObjectDescription().
-	description_label->setText ("<nobr>" + _object->getObjectDescription ().replace ("<br>", "  -</nobr>  <nobr>") + "</nobr>");
+	// make the description use less height. Trying to specify <nobr>s, here, is no good idea (see https://sourceforge.net/tracker/?func=detail&atid=459007&aid=2859182&group_id=50231)
+	description_label->setText (_object->getObjectDescription ().replace ("<br>", "    "));
 	if (notify) {
 		QString reason = i18n ("The object was changed. You may want to click \"Update\"");
 		summary_widget->invalidate (reason);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list