diff -r 756616c38dd6 -r 45fbb9df0c99 QTfrontend/mapContainer.cpp --- a/QTfrontend/mapContainer.cpp Sun Feb 18 14:43:35 2007 +0000 +++ b/QTfrontend/mapContainer.cpp Sun Feb 18 15:28:47 2007 +0000 @@ -35,7 +35,7 @@ imageButt=new QPushButton(this); imageButt->setFixedSize(256, 128); imageButt->setFlat(true); - imageButt->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); + imageButt->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);//QSizePolicy::Minimum, QSizePolicy::Minimum); mainLayout.addWidget(imageButt); connect(imageButt, SIGNAL(clicked()), this, SLOT(setRandomSeed())); setRandomSeed(); @@ -51,6 +51,7 @@ connect(chooseMap, SIGNAL(activated(int)), this, SLOT(mapChanged(int))); mainLayout.addWidget(chooseMap); + mainLayout.setSizeConstraint(QLayout::SetFixedSize);//SetMinimumSize } void HWMapContainer::setImage(const QImage newImage)