From b525692cdfe5ce9daaf6cf62e4ae796b6e039212 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 13 Oct 2014 17:38:09 +0400 Subject: [PATCH] CoTech action 66.2: Rename algorithms in Create Mesh dialog box: - part 1: Resize combo-box to show all items (no scroll bar) --- src/SMESHGUI/SMESHGUI_MeshDlg.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx index f3a2719d4..a381acde0 100644 --- a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx @@ -171,6 +171,7 @@ void SMESHGUI_MeshTab::addItem( const QString& txt, const int type, const int in if ( type <= AddHyp ) { myHypCombo[ type ]->addItem( txt, QVariant( index )); + myHypCombo[ type ]->setMaxVisibleItems( qMax( 10, myHypCombo[ type ]->count() ) ); } else { -- 2.39.2