QTfrontend/pages.h
changeset 1149 c2d3b4f71836
parent 1148 e44de3416af4
child 1150 ae86e36dad2e
--- a/QTfrontend/pages.h	Mon Aug 04 19:04:46 2008 +0000
+++ b/QTfrontend/pages.h	Mon Aug 04 19:28:01 2008 +0000
@@ -70,6 +70,7 @@
       butt->setFixedSize(sz+QSize(2, 2));
       butt->setIconSize(sz);
       butt->setFlat(true);
+      butt->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
     }
     grid->addWidget(butt, wy, wx);
     return butt;
@@ -86,6 +87,7 @@
       butt->setFixedSize(sz+QSize(2, 2));
       butt->setIconSize(sz);
       butt->setFlat(true);
+      butt->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
     }
     grid->addWidget(butt, wy, wx, rowSpan, columnSpan);
     return butt;