From 0321037eb81fd47f16f62c34ddb05722d3e620be Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 20 May 2017 18:15:57 +0200 Subject: [PATCH] fixed centering of comments --- retroshare-gui/src/gui/gxs/GxsCommentTreeWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/gxs/GxsCommentTreeWidget.cpp b/retroshare-gui/src/gui/gxs/GxsCommentTreeWidget.cpp index 2a3188fd6..d4f48ed96 100644 --- a/retroshare-gui/src/gui/gxs/GxsCommentTreeWidget.cpp +++ b/retroshare-gui/src/gui/gxs/GxsCommentTreeWidget.cpp @@ -98,7 +98,7 @@ public: p.setRenderHint(QPainter::Antialiasing); QPainterPath path ; - path.addRoundedRect(QRectF(m/7.0,m/7.0,s.width()+m/2.0,s.height()+m/2.0),m,m) ; + path.addRoundedRect(QRectF(m/4.0,m/4.0,s.width()+m/2.0,s.height()+m/2.0),m,m) ; QPen pen(Qt::gray,m/7.0f); p.setPen(pen); p.fillPath(path,QColor::fromHsv( index.data(POST_COLOR_ROLE).toInt()/255.0*360,40,220)); // varies the color according to the post author