Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[layout] Allow negative values for grid offset
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 github-actions[bot] committed Aug 14, 2021
1 parent 887ac0a commit b959fb5
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 b959fb5

Please sign in to comment.