Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65efd98
)
CoTech action 66.2: Rename algorithms in Create Mesh dialog box:
author
vsr
<vsr@opencascade.com>
Mon, 13 Oct 2014 13:38:09 +0000
(17:38 +0400)
committer
vsr
<vsr@opencascade.com>
Mon, 13 Oct 2014 13:38:09 +0000
(17:38 +0400)
- part 1: Resize combo-box to show all items (no scroll bar)
src/SMESHGUI/SMESHGUI_MeshDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx
b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx
index f3a2719d41cfbbcb6e44b4b8f11b9ffb1f95a682..a381acde05148beca0aabdb3259b4ac85151d585 100644
(file)
--- 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
{