[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/shapes/text
From: Pierre Ducroquet <pinaraf () gmail ! com>
Date: 2007-06-13 22:55:17
Message-ID: 1181775317.478914.23193.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 675313 by ducroquet:
Fix the width of the line drawn
M +1 -0 Layout.cpp
--- trunk/koffice/shapes/text/Layout.cpp #675312:675313
@@ -646,6 +646,7 @@
QColor color = fmt.colorProperty(KoCharacterStyle::FontStrikeOutColor);
QPen pen = painter->pen();
pen.setColor(color);
+ pen.setWidth(painter->fontMetrics().lineWidth());
pen.setStyle((Qt::PenStyle) fmt.intProperty(KoCharacterStyle::FontStrikeOutStyle));
painter->setPen(pen);
painter->drawLine(x1, y, x2, y);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic