Mercurial > hg > svgui
diff widgets/ItemEditDialog.cpp @ 685:b6397738444c
Avoid infeasibly wide dialog box
author | Chris Cannam |
---|---|
date | Thu, 28 Nov 2013 16:28:21 +0000 |
parents | 4edaff85875d |
children | e4773943c9c1 |
line wrap: on
line diff
--- a/widgets/ItemEditDialog.cpp Tue Nov 26 14:11:04 2013 +0000 +++ b/widgets/ItemEditDialog.cpp Thu Nov 28 16:28:21 2013 +0000 @@ -147,8 +147,8 @@ m_valueSpinBox = new QDoubleSpinBox; m_valueSpinBox->setSuffix(QString(" %1").arg(valueUnits)); m_valueSpinBox->setDecimals(10); - m_valueSpinBox->setMinimum(-1e100); - m_valueSpinBox->setMaximum(1e100); + m_valueSpinBox->setMinimum(-1e10); + m_valueSpinBox->setMaximum(1e10); connect(m_valueSpinBox, SIGNAL(valueChanged(double)), this, SLOT(valueChanged(double))); subgrid->addWidget(m_valueSpinBox, subrow, 1);