]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
When the main window was maximized some dialogs were cropped at the bottom of the...
authorjrt <jrt>
Mon, 20 Oct 2003 16:26:06 +0000 (16:26 +0000)
committerjrt <jrt>
Mon, 20 Oct 2003 16:26:06 +0000 (16:26 +0000)
src/SMESHGUI/SMESHGUI.cxx

index dcb6d7c98308c2fc74de8bc0ad4de1b3689ab591..af49173b91045dbe212dc377e4e475c26e8eea02 100644 (file)
@@ -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 ) ;