From: pkv Date: Tue, 22 Nov 2005 13:06:10 +0000 (+0000) Subject: fix for Bug GVIEW10594 X-Git-Tag: BR-D5-38-2003_D2005-24-11~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bbf094491fd10650741c3a5344d62f05ed6cf01e;p=modules%2Fvisu.git fix for Bug GVIEW10594 --- diff --git a/src/VVTK/VVTK_PickingDlg.cxx b/src/VVTK/VVTK_PickingDlg.cxx index af0a00b7..e67cc41b 100644 --- a/src/VVTK/VVTK_PickingDlg.cxx +++ b/src/VVTK/VVTK_PickingDlg.cxx @@ -77,8 +77,13 @@ VVTK_PickingDlg::VVTK_PickingDlg( QWidget* parent, const char* name ) CursorGroupLayout->setMargin(11); QLabel* PyramidHeightLabel = new QLabel( tr( "PYRAMID_HEIGHT" ), CursorGroup ); - myPyramidHeightSpinBox = new QtxDblSpinBox( 1.0, 100.0, 1.0, CursorGroup ); + double aHeightMin=1.e-7; + double aHeightMax=10.; + double aHeightStep=0.1; + myPyramidHeightSpinBox = new QtxDblSpinBox(aHeightMin, aHeightMax, aHeightStep, CursorGroup ); + myPyramidHeightSpinBox->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); + QLabel* SelectionColorLabel = new QLabel( tr( "SELECTION_COLOR" ), CursorGroup ); mySelectionColorButton = new QPushButton( CursorGroup );