Use reasonable values for the spinbox.

deque
cc9cii 10 years ago
parent 437fb774c5
commit 62406d5322

@ -302,6 +302,8 @@ void CSVSettings::Dialog::buildPages()
// subview
if(model()->hasSettingDefinitions("SubView/minimum width"))
sbMinSubViewWidth->setValue(model()->settingValue("SubView/minimum width").toInt());
else
sbMinSubViewWidth->setValue(325);
SettingWindow::createPages ();

@ -146,6 +146,12 @@
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<number>50</number>
</property>
<property name="maximum">
<number>20000</number>
</property>
<property name="singleStep">
<number>5</number>
</property>

Loading…
Cancel
Save