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.
master
Jeremy Hu 2018-10-24 22:08:42 +08:00
parent ee20aff397
commit dbc82fa8f1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ SkeletonPartTreeWidget::SkeletonPartTreeWidget(const SkeletonDocument *document,
setFont(m_normalFont); 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); QColor fillColor = QColor(0xfb, 0xf9, 0x87);
fillColor.setAlphaF(0.85); fillColor.setAlphaF(0.85);
gradient.setCoordinateMode(QGradient::StretchToDeviceMode); gradient.setCoordinateMode(QGradient::StretchToDeviceMode);