Commit 2f4b5ba8 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[MERGE]

parents 425325fa e3b41723
......@@ -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