diff widgets/Pane.cpp @ 68:193b569a975f

* Add scale lines to waveform layer * Various fixes to vertical scale drawing for waveform and time-value layers * Make log/linear scale have an effect for time-value layer segmentation mode
author Chris Cannam
date Wed, 29 Mar 2006 16:24:25 +0000
parents c4fff27cd651
children bf306158803d
line wrap: on
line diff
--- a/widgets/Pane.cpp	Wed Mar 29 12:35:17 2006 +0000
+++ b/widgets/Pane.cpp	Wed Mar 29 16:24:25 2006 +0000
@@ -162,7 +162,7 @@
 
 	    paint.setPen(Qt::black);
 	    paint.setBrush(Qt::white);
-	    paint.drawRect(0, 0, verticalScaleWidth, height());
+	    paint.drawRect(0, -1, verticalScaleWidth, height()+1);
 
 	    paint.setBrush(Qt::NoBrush);
 	    (*vi)->paintVerticalScale