Skip to content

Commit

Permalink
[gradient fill] Don't restrict reference point widget range to 0-1
Browse files Browse the repository at this point in the history
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 01d8a9c
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/ui/symbollayer/widget_gradientfill.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 01d8a9c

Please sign in to comment.