From 90905601c5e5755a74ab2d867f874710db4091c1 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Sat, 21 Mar 2015 08:45:51 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/divelistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/divelistview.cpp') 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 -- cgit v1.2.3-70-g09d2