From 6be62c1d90b064b1400dc3e76bc2a4c2f20904c5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 15 Feb 2014 11:15:57 -0800 Subject: 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 --- qt-ui/profile/profilewidget2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile/profilewidget2.cpp') 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); -- cgit v1.2.3-70-g09d2