Mercurial > hg > svgui
changeset 533:a0e4176b0bf8
* another minor improvement
author | Chris Cannam |
---|---|
date | Tue, 19 May 2009 16:26:58 +0000 |
parents | 188049db73fa |
children | 7a560380b6e2 |
files | layer/Colour3DPlotLayer.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Tue May 19 13:03:36 2009 +0000 +++ b/layer/Colour3DPlotLayer.cpp Tue May 19 16:26:58 2009 +0000 @@ -774,7 +774,7 @@ } */ - int py = 0; + int py = h; for (size_t i = symin; i < symax; ++i) { @@ -798,9 +798,9 @@ if (i > symin) { if (paint.fontMetrics().height() >= h) { - if (h >= 7) { + if (h >= 8) { QFont tf = paint.font(); - tf.setPixelSize(h > 7 ? h-2 : 5); + tf.setPixelSize(h-2); paint.setFont(tf); } else { continue;