mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 08:21:17 -05:00
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:
parent
2ae63fa87c
commit
57bea92f75
@ -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]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user