#include <QGridLayout>
#include <QVBoxLayout>
#include <QHBoxLayout>
+#include <QApplication>
#define SPACING 6
#define MARGIN 11
myTable->setFuncMinValue(myConv->checkedId()==0 ? -1E20 : 0);
myTable->setData( data.myTable );
myExpr->setText( data.myExpr );
+
+ if ( dlg() )
+ dlg()->setMinimumSize( dlg()->minimumSizeHint().width(), dlg()->minimumSizeHint().height() );
}
QString StdMeshersGUI_NbSegmentsCreator::storeParams() const
if( isFunc )
myPreview->setConversion( StdMeshersGUI_DistrPreview::Conversion( myConv->checkedId() ) );
+
+ if ( dlg() ) {
+ QApplication::instance()->processEvents();
+ dlg()->updateGeometry();
+ dlg()->setMinimumSize( dlg()->minimumSizeHint().width(), dlg()->minimumSizeHint().height() );
+ dlg()->resize( dlg()->minimumSize() );
+ }
}