comparison view/Pane.cpp @ 385:c0818f064e66

...
author Chris Cannam
date Mon, 12 May 2008 15:30:11 +0000
parents c1e5af9f2c3c
children f329416bf1a5
comparison
equal deleted inserted replaced
384:c1e5af9f2c3c 385:c0818f064e66
975 .arg(srNote); 975 .arg(srNote);
976 976
977 int x = m_scaleWidth + 5; 977 int x = m_scaleWidth + 5;
978 int pbw = getProgressBarWidth(); 978 int pbw = getProgressBarWidth();
979 if (x < pbw + 5) x = pbw + 5; 979 if (x < pbw + 5) x = pbw + 5;
980
981 std::cerr << "x = " << x << ", pbw = " << pbw << std::endl;
982 980
983 if (r.x() < x + paint.fontMetrics().width(desc)) { 981 if (r.x() < x + paint.fontMetrics().width(desc)) {
984 drawVisibleText(paint, x, 982 drawVisibleText(paint, x,
985 height() - fontHeight + fontAscent - 6, 983 height() - fontHeight + fontAscent - 6,
986 desc, OutlinedText); 984 desc, OutlinedText);