--- 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);