mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 19:00:33 +05:00
Fix for bug 9366: incorrect size of the 'Select color' buttons
This commit is contained in:
parent
5f6698232e
commit
9efbaa6f5e
@ -174,6 +174,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg( SMESHGUI*
|
|||||||
myFontGrpLayout->setSpacing( SPACING_SIZE ); myFontGrpLayout->setMargin( MARGIN_SIZE );
|
myFontGrpLayout->setSpacing( SPACING_SIZE ); myFontGrpLayout->setMargin( MARGIN_SIZE );
|
||||||
|
|
||||||
myTitleColorBtn = new QToolButton( myFontGrp, "myTitleColorBtn" );
|
myTitleColorBtn = new QToolButton( myFontGrp, "myTitleColorBtn" );
|
||||||
|
myTitleColorBtn->setMinimumWidth( 20 );
|
||||||
|
|
||||||
myTitleFontCombo = new QComboBox( false, myFontGrp, "myTitleFontCombo" );
|
myTitleFontCombo = new QComboBox( false, myFontGrp, "myTitleFontCombo" );
|
||||||
myTitleFontCombo->setMinimumWidth( MINIMUM_WIDTH );
|
myTitleFontCombo->setMinimumWidth( MINIMUM_WIDTH );
|
||||||
@ -187,6 +188,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg( SMESHGUI*
|
|||||||
myTitleShadowCheck = new QCheckBox( tr( "SMESH_FONT_SHADOW" ), myFontGrp, "myTitleShadowCheck" );
|
myTitleShadowCheck = new QCheckBox( tr( "SMESH_FONT_SHADOW" ), myFontGrp, "myTitleShadowCheck" );
|
||||||
|
|
||||||
myLabelsColorBtn = new QToolButton( myFontGrp, "myLabelsColorBtn" );
|
myLabelsColorBtn = new QToolButton( myFontGrp, "myLabelsColorBtn" );
|
||||||
|
myLabelsColorBtn->setMinimumWidth( 20 );
|
||||||
|
|
||||||
myLabelsFontCombo = new QComboBox( false, myFontGrp, "myLabelsFontCombo" );
|
myLabelsFontCombo = new QComboBox( false, myFontGrp, "myLabelsFontCombo" );
|
||||||
myLabelsFontCombo->setMinimumWidth( MINIMUM_WIDTH );
|
myLabelsFontCombo->setMinimumWidth( MINIMUM_WIDTH );
|
||||||
|
Loading…
Reference in New Issue
Block a user