mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
ValueDialZ: added missing inter-wheel gap
This commit is contained in:
parent
5ab5989e7f
commit
160307fe23
@ -211,7 +211,7 @@ void ValueDialZ::paintEvent(QPaintEvent*)
|
|||||||
painter.setPen(m_colorMapper.getBoundaryColor());
|
painter.setPen(m_colorMapper.getBoundaryColor());
|
||||||
painter.setBrush(Qt::NoBrush);
|
painter.setBrush(Qt::NoBrush);
|
||||||
|
|
||||||
for (int i = 1; i < m_numDigits + m_numDecimalPoints; i++)
|
for (int i = 1; i < 1 + m_numDigits + m_numDecimalPoints; i++)
|
||||||
{
|
{
|
||||||
painter.setPen(m_colorMapper.getBoundaryColor());
|
painter.setPen(m_colorMapper.getBoundaryColor());
|
||||||
painter.drawLine(1 + i * m_digitWidth, 1, 1 + i * m_digitWidth, height() - 1);
|
painter.drawLine(1 + i * m_digitWidth, 1, 1 + i * m_digitWidth, height() - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user