m_zoneColor.setAlpha(180);
setMouseTracking(true);
- setMinimumHeight(8);
+ setMinimumHeight(QFontInfo(font()).pixelSize());
adjustScale(m_maxval);
}
int cursorPos = m_cursorFramePosition * m_scale;
// draw pointer
QPolygon pa(3);
- pa.setPoints(3, cursorPos - 6, 7, cursorPos + 6, 7, cursorPos/*+0*/, 0);
+ pa.setPoints(3, cursorPos - 6, height() - 1, cursorPos + 6, height() - 1, cursorPos/*+0*/, height() - 8);
p.setBrush(m_cursorColor);
p.setPen(Qt::NoPen);
p.drawPolygon(pa);