Clean up the display of "Controls" checkbox on Wide Graph.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8132 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-09-28 15:46:36 +00:00
parent 2ae63fa87c
commit 57bea92f75

View File

@ -355,7 +355,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
//draw frequency values //draw frequency values
for( int i=0; i<=m_hdivs; i++) { for( int i=0; i<=m_hdivs; i++) {
x = (int)((m_xOffset+i)*pixperdiv - pixperdiv/2); x = (int)((m_xOffset+i)*pixperdiv - pixperdiv/2);
if(x > 40 and x < m_w) { if(int(x+pixperdiv/2) > 70) {
rect0.setRect(x,0, (int)pixperdiv, 20); rect0.setRect(x,0, (int)pixperdiv, 20);
painter0.drawText(rect0, Qt::AlignHCenter|Qt::AlignVCenter,m_HDivText[i]); painter0.drawText(rect0, Qt::AlignHCenter|Qt::AlignVCenter,m_HDivText[i]);
} }