QTfrontend/mapContainer.cpp
changeset 677 9d0bcc3c903a
parent 530 f0b962214436
child 679 8187912107ac
--- a/QTfrontend/mapContainer.cpp	Sun Dec 16 19:34:13 2007 +0000
+++ b/QTfrontend/mapContainer.cpp	Mon Dec 17 18:05:58 2007 +0000
@@ -26,12 +26,14 @@
 #include <QLinearGradient>
 #include <QColor>
 #include <QTextStream>
+#include <QApplication>
 
 #include "hwconsts.h"
 
 HWMapContainer::HWMapContainer(QWidget * parent) :
   QWidget(parent), mainLayout(this)
 {
+  mainLayout.setContentsMargins (0, 1, 0, QApplication::style()->pixelMetric(QStyle::PM_LayoutBottomMargin));
   imageButt=new QPushButton(this);
   imageButt->setObjectName("imageButt");
   imageButt->setFixedSize(256, 128);