Skip to content

Commit 28cdd97

Browse files
committed
Fix space inserted at start of graduated legend entries
Fixes #21339 (cherry picked from commit 0efa0b1)
1 parent f7f8eb8 commit 28cdd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/symbology/qgsgraduatedsymbolrenderer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const int QgsRendererRangeLabelFormat::MAX_PRECISION = 15;
175175
const int QgsRendererRangeLabelFormat::MIN_PRECISION = -6;
176176

177177
QgsRendererRangeLabelFormat::QgsRendererRangeLabelFormat()
178-
: mFormat( QStringLiteral( " %1 - %2 " ) )
178+
: mFormat( QStringLiteral( "%1 - %2" ) )
179179
, mReTrailingZeroes( "[.,]?0*$" )
180180
, mReNegativeZero( "^\\-0(?:[.,]0*)?$" )
181181
{

0 commit comments

Comments
 (0)