Skip to content

Commit 52293bf

Browse files
author
g_j_m
committedJul 7, 2006
Fix for ticket #178. The default value of the scale bar border line
was 0.01, which in most cases was too small to generate a visible line in the print composer window. Default is now 2.0 git-svn-id: http://svn.osgeo.org/qgis/trunk@5565 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a12ef19 commit 52293bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/composer/qgscomposerscalebar.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ void QgsComposerScalebar::init ( void )
136136
Q3CanvasPolygonalItem::setZ(50);
137137
setActive(true);
138138

139+
// Default value (map units?) for the scalebar border
140+
mPen.setWidthF(2.0);
141+
139142
// Plot style
140143
setPlotStyle ( QgsComposition::Preview );
141144

0 commit comments

Comments
 (0)
Please sign in to comment.