summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 11:15:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 11:15:57 -0800
commit6be62c1d90b064b1400dc3e76bc2a4c2f20904c5 (patch)
tree325b0e5eb768a01ec4e58d416aeacc1c39ebc5b6 /qt-ui/profile/profilewidget2.cpp
parent980737221d471bb73e50946de40b2b7e303f286b (diff)
downloadsubsurface-6be62c1d90b064b1400dc3e76bc2a4c2f20904c5.tar.gz
Make font label scale a per axis property
This way the partial pressure graph can have smaller pressure labels than all the other labels on the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 788c2808e..284a75c44 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -132,6 +132,7 @@ void ProfileWidget2::setupItemOnScene()
gasYAxis->setTickSize(1);
gasYAxis->setMinimum(0);
gasYAxis->setModel(dataModel);
+ gasYAxis->setFontLabelScale(0.7);
temperatureAxis->setOrientation(DiveCartesianAxis::BottomToTop);
temperatureAxis->setTickSize(2);