Change position of heart rate labels on y-axis

The lettering of the heart rate numbers on the lefthand Y-axis "fall off"
the left hand of the profile panel when the panel is a bit narrow. This
minute change moves the letters a bit closer to the Y-axis so that their
left-hand extreme is more or less in line with those of the depth-labels
on the same axis. This is a partial response to Ticket # 484.

Signed-off willem ferguson

>From 2011e60a860402285f8378fd124cbf200e465d9b Mon Sep 17 00:00:00 2001
From: Willem Ferguson <willemfergu...@zoology.up.ac.za>
Date: Mon, 7 Apr 2014 22:06:31 +0200
Subject: [PATCH 3/3] Change position of heart rate labels on y-axis

The lettering of the heart rate numbers on the lefthand exis "fall off"
the left hand of the profile panel when the panel is a bit narrow. This
minute change moves the letters a bit closer to the Y-axis so that their
left-hand extreme is more or less in line with those of the depth-labels
on the Y-axis. This is a partial response to Ticket # 484.

Signed-off willem ferguson
---
 qt-ui/profile/profilewidget2.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 1539b5d..047634e 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -159,7 +159,7 @@ void ProfileWidget2::setupItemOnScene()
 	gasYAxis->setLineSize(96);
 
 	heartBeatAxis->setOrientation(DiveCartesianAxis::BottomToTop);
-	heartBeatAxis->setTickSize(1);
+	heartBeatAxis->setTickSize(0.2);
 	heartBeatAxis->setTickInterval(10);
 	heartBeatAxis->setFontLabelScale(0.7);
 	heartBeatAxis->setLineSize(96);
-- 
1.7.10.4

_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to