From: rnv Date: Tue, 21 Apr 2015 07:18:10 +0000 (+0300) Subject: 23049: [CEA 1475] Increase the size of some dialog boxes X-Git-Tag: V7_6_0rc1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=718926b36c819f771af0c424466d4c826df16d33 23049: [CEA 1475] Increase the size of some dialog boxes --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 9eb0ab0da..de3f26559 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -150,6 +150,8 @@ #include #include #include +#include +#include // BOOST includes #include @@ -715,6 +717,16 @@ namespace if ( !anInitialPath.isEmpty() ) fd->setDirectory( anInitialPath ); fd->selectFile(aMeshName); + + + QListView *lview = fd->findChild("listView"); + if( lview ) { + lview->setMinimumHeight(200); + } + QTreeView *tview = fd->findChild("treeView"); + if( tview ) { + tview->setMinimumHeight(200); + } SMESHGUI_FileValidator* fv = new SMESHGUI_FileValidator( fd ); fd->setValidator( fv );