X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_ObjectReferenceParamWdg.cxx;h=70abfea101ef17fd7fc419087a450a72a62d1ac3;hp=db42e8484dc94ae13c50367d08d2a582e3f7c223;hb=c41b8e1caac50cdcd1bea8be471e9f5b3a644a51;hpb=6bac08c1a81f34d3f21c550bd92f83654b2546a5 diff --git a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx index db42e8484..70abfea10 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx @@ -55,11 +55,12 @@ //================================================================================ StdMeshersGUI_ObjectReferenceParamWdg::StdMeshersGUI_ObjectReferenceParamWdg -( SUIT_SelectionFilter* f, QWidget* parent, bool multiSelection, bool stretch ) +( SUIT_SelectionFilter* f, QWidget* parent, bool multiSelection + /*, bool stretch */) : QWidget( parent ), myMultiSelection( multiSelection ) { myFilter = f; - myStretchActivated = stretch; + // myStretchActivated = stretch; init(); } @@ -123,12 +124,13 @@ void StdMeshersGUI_ObjectReferenceParamWdg::init() myObjNameLineEdit = new QLineEdit(this); myObjNameLineEdit->setReadOnly(true); myObjNameLineEdit->setStyleSheet(myEmptyStyleSheet); + myObjNameLineEdit->setMinimumWidth(150); aHBox->addWidget( mySelButton ); aHBox->addWidget( myObjNameLineEdit ); - if (myStretchActivated){ - aHBox->addStretch(); - } + //if (myStretchActivated){ + // aHBox->addStretch(); + //} connect( mySelButton, SIGNAL(clicked()), SLOT(activateSelection())); }