changeset 15092 | dc236bcd7309 |
parent 14971 | ef3352839616 |
child 15299 | 16f389fcd462 |
--- 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("<br>" + labelGraphTitle->text());