From fe490e090c1305ad9582f96796ee44dac4f843cc Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 18 Oct 2005 13:30:58 +0000 Subject: [PATCH] Fix for bug 9286: Incorrect size of 'Select color' buttons of the 'Text property' dlg --- src/VISUGUI/VisuGUI_ScalarBarDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx index 2e2ab54e..fc60f7f5 100644 --- a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx +++ b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx @@ -929,6 +929,7 @@ VisuGUI_TextPrefDlg::VisuGUI_TextPrefDlg(QWidget* parent) : aFontsLst.append("Times"); myTitColor = new QToolButton(aTitleGrp); + myTitColor->setMinimumWidth( 20 ); connect( myTitColor, SIGNAL(clicked()), this, SLOT(setTitleColor()) ); aTitleLayout->addWidget(myTitColor, 1, 0); @@ -955,6 +956,7 @@ VisuGUI_TextPrefDlg::VisuGUI_TextPrefDlg(QWidget* parent) : aLabelLayout->setMargin( 3 ); myLblColor = new QToolButton(aLabelsGrp); + myLblColor->setMinimumWidth( 20 ); connect( myLblColor, SIGNAL(clicked()), this, SLOT(setLabelColor()) ); aLabelLayout->addWidget(myLblColor, 0, 0); -- 2.39.2