comparison layer/LogNumericalScale.cpp @ 699:1a1448f7beb2

Pull out colour scale drawing as well
author Chris Cannam
date Wed, 04 Dec 2013 13:11:23 +0000
parents ad7623c39396
children b81f21f2c4c3
comparison
equal deleted inserted replaced
698:ad7623c39396 699:1a1448f7beb2
28 28
29 int 29 int
30 LogNumericalScale::getWidth(View *, 30 LogNumericalScale::getWidth(View *,
31 QPainter &paint) 31 QPainter &paint)
32 { 32 {
33 return paint.fontMetrics().width("-000.00"); 33 return paint.fontMetrics().width("-000.00") + 10;
34 } 34 }
35 35
36 void 36 void
37 LogNumericalScale::paintVertical(View *v, 37 LogNumericalScale::paintVertical(View *v,
38 const VerticalScaleLayer *layer, 38 const VerticalScaleLayer *layer,