]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
INT PAL 52920: TC7.7.0: Button is to small for its label
authorvsr <vsr@opencascade.com>
Fri, 9 Oct 2015 12:54:46 +0000 (15:54 +0300)
committervsr <vsr@opencascade.com>
Fri, 9 Oct 2015 12:54:46 +0000 (15:54 +0300)
src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx

index b67942897ae89c93f83006f968fee15c3dece2a6..82d2e437d8726a5a743e365d02278b3e1f5ebf3c 100644 (file)
@@ -111,9 +111,11 @@ void StdMeshersGUI_LayerDistributionParamWdg::init()
 
   myCreateButton = new QPushButton( this );
   myCreateButton->setObjectName( "createBut" );
+  myCreateButton->setMinimumWidth(100);
 
   myEditButton   = new QPushButton( tr("EDIT"), this );
   myEditButton->setObjectName( "editBut" );
+  myEditButton->setMinimumWidth(100);
 
   myHypTypePopup = new QMenu( this );
 
@@ -130,8 +132,8 @@ void StdMeshersGUI_LayerDistributionParamWdg::init()
   }
 
   aHBox->addWidget( myCreateButton );
+  aHBox->addStretch(5);
   aHBox->addWidget( myEditButton );
-  aHBox->addStretch();
 
   connect( myCreateButton, SIGNAL(clicked()), SLOT(onCreate()));
   connect( myEditButton,   SIGNAL(clicked()), SLOT(onEdit()));