Skip to content
Permalink
Browse files
[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 nyalldawson committed Aug 17, 2021
1 parent 083595f commit ce9eef85103683c51917710369523aa72ed08d74
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/ui/layout/qgslayoutmapgridwidgetbase.ui
@@ -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>
@@ -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>

0 comments on commit ce9eef8

Please sign in to comment.