diff -r 57f7d89067ef -r dc236bcd7309 QTfrontend/ui/page/pagegamestats.cpp --- a/QTfrontend/ui/page/pagegamestats.cpp Tue May 28 01:58:42 2019 +0200 +++ b/QTfrontend/ui/page/pagegamestats.cpp Tue May 28 13:07:56 2019 +0200 @@ -204,6 +204,7 @@ if(maxDataPoints < 2) { labelGraphTitle->hide(); graphic->hide(); + applySpacing(); return; } @@ -275,6 +276,11 @@ labelGraphTitle->show(); gbDetails->show(); } + applySpacing(); +} + +void PageGameStats::applySpacing() +{ if (!labelGameStats->isHidden()) { labelGraphTitle->setText("
" + labelGraphTitle->text());