Skip to content
Permalink
Browse files
[gradient fill] Don't restrict reference point widget range to 0-1
You can get valid/interesting results by setting the reference
points outside this range
  • Loading branch information
nyalldawson committed Oct 15, 2021
1 parent f401ec2 commit 01d8a9c483ee29566b5fc55e25fd136cb8cea662
Showing with 16 additions and 4 deletions.
  1. +16 −4 src/ui/symbollayer/widget_gradientfill.ui
@@ -55,8 +55,11 @@
</item>
<item row="7" column="2">
<widget class="QgsDoubleSpinBox" name="spinRefPoint1Y">
<property name="minimum">
<double>-10.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.200000000000000</double>
@@ -232,8 +235,11 @@
</item>
<item row="11" column="2">
<widget class="QgsDoubleSpinBox" name="spinRefPoint2Y">
<property name="minimum">
<double>-10.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.200000000000000</double>
@@ -326,8 +332,11 @@
</item>
<item row="6" column="2">
<widget class="QgsDoubleSpinBox" name="spinRefPoint1X">
<property name="minimum">
<double>-10.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.200000000000000</double>
@@ -339,8 +348,11 @@
</item>
<item row="10" column="2">
<widget class="QgsDoubleSpinBox" name="spinRefPoint2X">
<property name="minimum">
<double>-10.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
<double>10.000000000000000</double>
</property>
<property name="singleStep">
<double>0.200000000000000</double>

0 comments on commit 01d8a9c

Please sign in to comment.