From: mkr Date: Tue, 18 Mar 2008 11:57:18 +0000 (+0000) Subject: Qt4 porting. X-Git-Tag: VSR_280308~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=84894051043eaed7ebc682b355580ab3cd57b7f2;p=modules%2Fsmesh.git Qt4 porting. --- diff --git a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx index f01212a3d..3f4f40afe 100644 --- a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx @@ -353,6 +353,7 @@ SMESHGUI_MeshDlg::SMESHGUI_MeshDlg( const bool theToCreate, const bool theIsMesh { // Create top controls + setObjectPixmap( "SMESH", tr( "ICON_SELECT" ) ); // name createObject( tr( "NAME" ), mainFrame(), Obj ); setNameIndication( Obj, OneName ); @@ -379,6 +380,8 @@ SMESHGUI_MeshDlg::SMESHGUI_MeshDlg( const bool theToCreate, const bool theIsMesh myHypoSetButton = new QToolButton( mainFrame() ); myHypoSetButton->setText( tr( "HYPOTHESES_SETS" ) ); myHypoSetButton->setEnabled( false ); + myHypoSetButton->setSizePolicy( QSizePolicy::MinimumExpanding, + myHypoSetButton->sizePolicy().verticalPolicy() ); // Fill layout QGridLayout* aLay = new QGridLayout( mainFrame() );