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 b679428..82d2e43 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()));