QTfrontend/ui/widget/drawmapwidget.h
changeset 13205 c681492df36d
parent 13204 9565569e410c
child 13206 c66ae01ca5a4
--- a/QTfrontend/ui/widget/drawmapwidget.h	Wed Mar 14 20:00:09 2018 +0100
+++ b/QTfrontend/ui/widget/drawmapwidget.h	Wed Mar 14 20:39:14 2018 +0100
@@ -59,11 +59,13 @@
             {
                 QVBoxLayout * vbox = new QVBoxLayout(drawMapWidget);
                 vbox->setMargin(0);
-                lblPoints = new QLabel("0", drawMapWidget);
                 QLayout * arLayout = new QVBoxLayout();
                 arLayout->setAlignment(Qt::AlignCenter);
                 vbox->addLayout(arLayout);
 
+                lblPoints = new QLabel("0", drawMapWidget);
+                arLayout->addWidget(lblPoints);
+
                 graphicsView = new DrawMapView(drawMapWidget);
                 graphicsView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
                 graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);