]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1369: default position for overview
authorasl <asl@opencascade.com>
Tue, 7 Nov 2017 12:14:28 +0000 (15:14 +0300)
committerasl <asl@opencascade.com>
Tue, 7 Nov 2017 12:14:28 +0000 (15:14 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx

index 57f0f934ccff1d5a7519176bcbf0e899d757ea38..ce1b778381cd9c96019265d983d66f58a697c0f1 100644 (file)
@@ -314,8 +314,8 @@ void HYDROGUI_Module::windows( QMap<int, int>& theMap ) const
   {
     const_cast<HYDROGUI_Module*>( this )->myOverview = 
       new HYDROGUI_Overview( tr( "OVERVIEW" ), 0, app->desktop() );
-    myOverview->setGeometry( 0, 0, 320, 240 );
     app->insertDockWindow( OverviewWindow, myOverview );
+    app->placeDockWindow( OverviewWindow, Qt::LeftDockWidgetArea );
   }
   inWindows = false;
 }