r16662 by jghali - #10049 : Zoom affect cursor line width

scribus-commit scribus-commit at lists.scribus.net
Wed Jun 15 22:00:42 UTC 2011


Author: jghali
Date: Wed Jun 15 22:00:42 2011
New Revision: 16662

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16662
Log:
#10049 : Zoom affect cursor line width

Modified:
    branches/Version135/Scribus/scribus/canvasmode_edit.cpp

Modified: branches/Version135/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16662&path=/branches/Version135/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/canvasmode_edit.cpp (original)
+++ branches/Version135/Scribus/scribus/canvasmode_edit.cpp Wed Jun 15 22:00:42 2011
@@ -203,7 +203,8 @@
 // 		qDebug()<<"==============================================================";
 		// end debug
 		double dx, dy, dy1;
-		QPen cPen ( Qt::black, 0.9 , Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin );
+		QPen cPen ( Qt::black, 1.5 , Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin );
+		cPen.setCosmetic(true); // #10049 : make cursor line width constant on screen
 
 		// normalize Current Position
 		textframe->itemText.normalizeCursorPosition();




More information about the scribus-commit mailing list