On 18 March 2014 16:14, Anton Lundin <gla...@acc.umu.se> wrote:
> I just played around with Qt5 a bit and noticed that the pp-graph lines
> are way to thick and the ruler line too.
>

see attached patch. is that a fix for the ruler line?

lubomir
--
diff --git a/qt-ui/profile/ruleritem.cpp b/qt-ui/profile/ruleritem.cpp
index 627958e..91bfa7f 100644
--- a/qt-ui/profile/ruleritem.cpp
+++ b/qt-ui/profile/ruleritem.cpp
@@ -77,6 +77,7 @@ RulerItem2::RulerItem2() : source(new RulerNodeItem2()),
        textItem->setFlag(QGraphicsItem::ItemIgnoresTransformations);
        textItemBack->setBrush(QColor(0xff, 0xff, 0xff, 190));
        textItemBack->setPen(QColor(Qt::white));
+       setPen(QPen(QColor(Qt::black), 0.2));
 }
 
 void RulerItem2::recalculate()
_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to