# HG changeset patch # User Chris Cannam # Date 1385656101 0 # Node ID b6397738444c0c83bca608f20ce678340cc6bd1e # Parent 692a8b9804fe6b59cedf50d904a4bc983973d607 Avoid infeasibly wide dialog box diff -r 692a8b9804fe -r b6397738444c widgets/ItemEditDialog.cpp --- 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);