Skip to content
Permalink
Browse files

[layouts] Default to more modern scalebar settings

Use 2 segments/0 left segments by default
  • Loading branch information
nyalldawson committed Aug 22, 2018
1 parent 8c5938a commit 2d5499bfd162249354292352c35c5d7d74feac5b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/layout/qgslayoutitemscalebar.cpp
@@ -473,8 +473,8 @@ void QgsLayoutItemScaleBar::applyDefaultSize( QgsUnitTypes::DistanceUnit units )
mSettings.setUnitsPerSegment( unitsPerSegment );
mSettings.setMapUnitsPerScaleBarUnit( upperMagnitudeMultiplier );

mSettings.setNumberOfSegments( 4 );
mSettings.setNumberOfSegmentsLeft( 2 );
mSettings.setNumberOfSegments( 2 );
mSettings.setNumberOfSegmentsLeft( 0 );
}

refreshSegmentMillimeters();

0 comments on commit 2d5499b

Please sign in to comment.
You can’t perform that action at this time.