1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 19:45:32 +00:00

Use reasonable values for the spinbox.

This commit is contained in:
cc9cii 2014-09-23 07:28:55 +10:00
parent 437fb774c5
commit 62406d5322
2 changed files with 8 additions and 0 deletions

View file

@ -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 ();

View file

@ -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>