Commit e3b41723 authored by Alexander Wiebel's avatar Alexander Wiebel

[CHANGE] increased display precision for double properties

parent 8543fd54
......@@ -78,6 +78,9 @@ WPropertyDoubleWidget::WPropertyDoubleWidget( WPropDouble property, QGridLayout*
m_spin.setMinimum( min );
m_spin.setMaximum( max );
// set display precision
m_spin.setDecimals( 5 );
// set the initial values
m_spin.setValue( m_doubleProperty->get() );
m_spin.setSingleStep( ( max - min ) / 100.0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment