From 0c1e70a38f79339a8d117b3066595f4f90e28d0e Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 9 Oct 2015 15:54:46 +0300 Subject: [PATCH 1/1] INT PAL 52920: TC7.7.0: Button is to small for its label --- src/StdMeshersGUI/StdMeshersGUI_LayerDistributionParamWdg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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())); -- 2.30.2