From dbc82fa8f14a6e00e0022bfff21e4f1f23331201 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Wed, 24 Oct 2018 22:08:42 +0800 Subject: [PATCH] Fix mini button display issue The part highlight background hide the subdiv mini button before, this commit resolve it by move the highlight left a little bit. --- src/skeletonparttreewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skeletonparttreewidget.cpp b/src/skeletonparttreewidget.cpp index 79fba8d1..a5418698 100644 --- a/src/skeletonparttreewidget.cpp +++ b/src/skeletonparttreewidget.cpp @@ -48,7 +48,7 @@ SkeletonPartTreeWidget::SkeletonPartTreeWidget(const SkeletonDocument *document, setFont(m_normalFont); - QRadialGradient gradient(QPointF(0.25, 0.3), 0.3); + QRadialGradient gradient(QPointF(0.2, 0.3), 0.3); QColor fillColor = QColor(0xfb, 0xf9, 0x87); fillColor.setAlphaF(0.85); gradient.setCoordinateMode(QGradient::StretchToDeviceMode);