X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI.cxx;h=af49173b91045dbe212dc377e4e475c26e8eea02;hp=dcb6d7c98308c2fc74de8bc0ad4de1b3689ab591;hb=92876f6a7544e5a450b8123ed2c1a44bda874472;hpb=17f94f16b7cf2357e322d78892535e752212475e diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index dcb6d7c98..af49173b9 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -400,6 +400,7 @@ void SMESHGUI::activeStudyChanged( QAD_Desktop* parent ) bool SMESHGUI::DefineDlgPosition(QWidget* aDlg, int& x, int& y) { /* Here the position is on the bottom right corner - 10 */ + aDlg->resize(QSize().expandedTo(aDlg->minimumSizeHint())); QAD_Desktop* PP = QAD_Application::getDesktop() ; x = abs ( PP->x() + PP->size().width() - aDlg->size().width() - 10 ) ; y = abs ( PP->y() + PP->size().height() - aDlg->size().height() - 10 ) ;