diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2015-03-21 08:45:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-21 11:12:13 -0700 |
commit | 90905601c5e5755a74ab2d867f874710db4091c1 (patch) | |
tree | b7c387b08cf387834f42bbc166cc28c875bbffff /qt-ui/divelistview.cpp | |
parent | 056b4baf1190b5300a338a4a0f5bef4b6cedd4b2 (diff) | |
download | subsurface-90905601c5e5755a74ab2d867f874710db4091c1.tar.gz |
GUI fix for OSX. Reduce the padding of the divelist header so that we don't obscure the first dive in the list.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index b905e9c3c..bacac71db 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -44,7 +44,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec // Fixes for the layout needed for mac #ifdef Q_OS_MAC int ht = metrics.height(); - header()->setMinimumHeight(ht + 10); + header()->setMinimumHeight(ht + 4); #endif // TODO FIXME we need this to get the header names |