From: vsr Date: Fri, 9 Oct 2015 12:54:46 +0000 (+0300) Subject: INT PAL 52920: TC7.7.0: Button is to small for its label X-Git-Tag: V7_7_0_WIN~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c1e70a38f79339a8d117b3066595f4f90e28d0e;p=modules%2Fsmesh.git INT PAL 52920: TC7.7.0: Button is to small for its label --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx index b67942897..82d2e437d 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx @@ -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()));