mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec
|
||||||
// Fixes for the layout needed for mac
|
// Fixes for the layout needed for mac
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
int ht = metrics.height();
|
int ht = metrics.height();
|
||||||
header()->setMinimumHeight(ht + 10);
|
header()->setMinimumHeight(ht + 4);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO FIXME we need this to get the header names
|
// TODO FIXME we need this to get the header names
|
||||||
|
|
Loading…
Add table
Reference in a new issue