From 84894051043eaed7ebc682b355580ab3cd57b7f2 Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 18 Mar 2008 11:57:18 +0000 Subject: [PATCH] Qt4 porting. --- src/SMESHGUI/SMESHGUI_MeshDlg.cxx | 3 +++ 1 file changed, 3 insertions(+) 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() ); -- 2.39.2