From a6bc9c5465236013d939ccdba98bf87a290ca49f Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Mon, 13 Feb 2017 23:02:53 +0100 Subject: [PATCH] ui: Bigger offset for bigger circle in graph node bundle --- src/lib_gui/qt/view/graphElements/QtGraphNodeBundle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib_gui/qt/view/graphElements/QtGraphNodeBundle.cpp b/src/lib_gui/qt/view/graphElements/QtGraphNodeBundle.cpp index ea03d3b6..cea84277 100644 --- a/src/lib_gui/qt/view/graphElements/QtGraphNodeBundle.cpp +++ b/src/lib_gui/qt/view/graphElements/QtGraphNodeBundle.cpp @@ -59,7 +59,8 @@ void QtGraphNodeBundle::updateStyle() } setStyle(style); - m_circle->setPosition(Vec2f(m_rect->rect().right() - 3, m_rect->rect().top() + 3)); + m_circle->setPosition( + Vec2f(m_rect->rect().right() - 3 + m_circle->getRadius() / 2, m_rect->rect().top() + 3 - m_circle->getRadius() / 4)); GraphViewStyle::NodeStyle accessStyle = GraphViewStyle::getStyleOfCountCircle(); m_circle->setStyle(