Mercurial > hg > svgui
changeset 685:b6397738444c
Avoid infeasibly wide dialog box
author | Chris Cannam |
---|---|
date | Thu, 28 Nov 2013 16:28:21 +0000 |
parents | 692a8b9804fe |
children | f46da276b21c 81c4c44ecc10 |
files | widgets/ItemEditDialog.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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);