diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-03-19 17:06:18 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-20 09:49:05 -0700 |
commit | 6ee3a6da527a0dab034c975f0a8a40d08a1f048b (patch) | |
tree | f593097d39994be524083d6dfbc1ac08b5d4a66b /qt-ui | |
parent | dfaa302383716ff832621ca2c4454e4696a42cdc (diff) | |
download | subsurface-6ee3a6da527a0dab034c975f0a8a40d08a1f048b.tar.gz |
Remove a bit of space from the Axis and its labels.
This should make the layout work better on smaller screens.
Fixes #458
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index cfb696de3..456f6f6ee 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -141,10 +141,11 @@ void ProfileWidget2::setupItemOnScene() profileYAxis->setOrientation(DiveCartesianAxis::TopToBottom); profileYAxis->setMinimum(0); profileYAxis->setTickInterval(M_OR_FT(10, 30)); - profileYAxis->setTickSize(1); + profileYAxis->setTickSize(0.5); profileYAxis->setLineSize(96); timeAxis->setLineSize(92); + timeAxis->setTickSize(-0.5); gasYAxis->setOrientation(DiveCartesianAxis::BottomToTop); gasYAxis->setTickInterval(1); |