From 980737221d471bb73e50946de40b2b7e303f286b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 15 Feb 2014 07:03:41 -0800 Subject: New Profile: make axis labels smaller Previously all text in the new profile was deawn in the same font. With this change the labels on all axes are smaller. It might be even better to allow per-axis configuration of the label size as along the time axis the bigger size looked better. But especially for partial pressures this looks much better. Signed-off-by: Dirk Hohndel --- qt-ui/profile/divecartesianaxis.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile/divecartesianaxis.cpp') diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 6eb732139..70be86334 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -164,6 +164,7 @@ void DiveCartesianAxis::updateTicks() label->setText(textForValue(currValue)); label->setBrush(QBrush(textColor)); label->setBrush(colorForValue(currValue)); + label->setScale(0.8); labels.push_back(label); if (orientation == RightToLeft || orientation == LeftToRight) { label->setAlignment(Qt::AlignBottom | Qt::AlignHCenter); -- cgit v1.2.3-70-g09d2