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>
This commit is contained in:
Joakim Bygdell 2015-03-21 08:45:51 +01:00 committed by Dirk Hohndel
parent 056b4baf11
commit 90905601c5

View file

@ -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