Browse Source

Allow 2 decimals when setting the share ratio. Closes #1303.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
b8040e4b4d
  1. 5
      src/preferences/options.ui
  2. 9
      src/updownratiodlg.ui

5
src/preferences/options.ui

@ -2273,14 +2273,11 @@
<property name="alignment"> <property name="alignment">
<set>Qt::AlignHCenter</set> <set>Qt::AlignHCenter</set>
</property> </property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum"> <property name="minimum">
<double>0.000000000000000</double> <double>0.000000000000000</double>
</property> </property>
<property name="maximum"> <property name="maximum">
<double>20.000000000000000</double> <double>9998.000000000000000</double>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<double>0.050000000000000</double> <double>0.050000000000000</double>

9
src/updownratiodlg.ui

@ -48,11 +48,14 @@
</item> </item>
<item> <item>
<widget class="QDoubleSpinBox" name="ratioSpinBox"> <widget class="QDoubleSpinBox" name="ratioSpinBox">
<property name="decimals"> <property name="maximum">
<number>1</number> <double>9998.000000000000000</double>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<double>0.100000000000000</double> <double>0.050000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property> </property>
</widget> </widget>
</item> </item>

Loading…
Cancel
Save