Skip to content

Commit

Permalink
[layout] Allow negative values for grid offset
Browse files Browse the repository at this point in the history
Add the "minimum" property to mOffsetXSpinBox and mOffsetYSpinBox in order to allow the use of negative values for the map grid offset.
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Aug 15, 2021
1 parent 9420919 commit 84f5d18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/layout/qgslayoutmapgridwidgetbase.ui
Expand Up @@ -407,6 +407,9 @@
<property name="decimals">
<number>12</number>
</property>
<property name="minimum">
<double>-10000000000000.000000000000000</double>
</property>
<property name="maximum">
<double>10000000000000.000000000000000</double>
</property>
Expand All @@ -420,6 +423,9 @@
<property name="decimals">
<number>12</number>
</property>
<property name="minimum">
<double>-10000000000000.000000000000000</double>
</property>
<property name="maximum">
<double>10000000000000.000000000000000</double>
</property>
Expand Down

0 comments on commit 84f5d18

Please sign in to comment.