More on graph legend markers

This commit is contained in:
Mark Watkins 2013-10-19 18:09:50 +10:00
parent 673b75d9f0
commit 9b51e2ecd3
2 changed files with 4 additions and 4 deletions

View File

@ -603,8 +603,8 @@ void gLineChart::paint(gGraph & w,int left, int top, int width, int height)
////////////////////////////////////////////////////////////////////
QFontMetrics fm(*defaultfont);
int bw=fm.xHeight();
int bh=fm.height()/1.5;
int bw=fm.width('X');
int bh=fm.height()/1.8;
if ((codepoints>0)) { //(m_codes.size()>1) &&
QString text=schema::channel[code].label();

View File

@ -571,8 +571,8 @@ jumpnext:
int x,y;
QFontMetrics fm(*defaultfont);
int bw=fm.xHeight();
int bh=fm.height()/1.5;
int bw=fm.width('X');
int bh=fm.height()/1.8;
bool ishours=false;
int good=0;