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:
parent
056b4baf11
commit
90905601c5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user