require reposition to start at 0; cap maximum

https://forums.ankiweb.net/t/unable-to-reposition-cards-to-negative-start-position/10370/2
This commit is contained in:
Damien Elmes 2021-06-01 10:09:24 +10:00
parent 8f5c2eb0a3
commit 688f22b4c8

View file

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>272</width> <width>299</width>
<height>229</height> <height>229</height>
</rect> </rect>
</property> </property>
@ -33,10 +33,10 @@
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="start"> <widget class="QSpinBox" name="start">
<property name="minimum"> <property name="minimum">
<number>-20000000</number> <number>0</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>200000000</number> <number>1000000</number>
</property> </property>
<property name="value"> <property name="value">
<number>0</number> <number>0</number>