bottomLayout->setMargin(0);
// scale
QLabel* scaleLabel = new QLabel (tr("SCALE"), bottomFrame);
- ScaleSpn = new QtxDblSpinBox (-1.e6, 1.e6, 0.1, bottomFrame);
+ ScaleSpn = new QtxDblSpinBox (-1.e38, 1.e38, 0.1, bottomFrame);
+ SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
+ int aPrecision = aResourceMgr->integerValue( "VISU", "floating_point_precision", 0 );
+ ScaleSpn->setPrecision( aPrecision*(-1) );
// Presentation type
GBPrsType = new QHButtonGroup (tr("PRESENTATION_TYPE"), bottomFrame);
new QRadioButton (tr("SURFACE"), GBPrsType);