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

scribus-commit scribus-commit at lists.scribus.net
Wed Jun 15 22:01:13 UTC 2011


Author: jghali
Date: Wed Jun 15 22:01:13 2011
New Revision: 16663

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

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16663&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Wed Jun 15 22:01:13 2011
@@ -237,7 +237,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