diff --git a/sdrbase/gui/valuedial.cpp b/sdrbase/gui/valuedial.cpp index c16f083fd..12730ab61 100644 --- a/sdrbase/gui/valuedial.cpp +++ b/sdrbase/gui/valuedial.cpp @@ -195,12 +195,12 @@ void ValueDial::paintEvent(QPaintEvent*) painter.drawLine(width() - 2, 1, width() - 2, height() - 1); // dial borders - painter.setPen(m_colorMapper.getLightBorderColor()); - painter.drawLine(0, height() - 1, width() - 1, height() - 1); - painter.drawLine(width() - 1, height() - 1, width() - 1, 0); painter.setPen(m_colorMapper.getDarkBorderColor()); - painter.drawLine(0, 0, width() - 1, 0); + painter.drawLine(0, 0, width() - 2, 0); painter.drawLine(0, height() - 1, 0, 0); + painter.setPen(m_colorMapper.getLightBorderColor()); + painter.drawLine(1, height() - 1, width() - 1, height() - 1); + painter.drawLine(width() - 1, height() - 1, width() - 1, 0); if(m_hightlightedDigit >= 0) { painter.setPen(Qt::NoPen);