Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed Jul 7, 2006
1 parent a12ef19 commit 52293bfae25d20b2b79ea6168466eb6f29ba866c
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/composer/qgscomposerscalebar.cpp
@@ -136,6 +136,9 @@ void QgsComposerScalebar::init ( void )
Q3CanvasPolygonalItem::setZ(50);
setActive(true);

// Default value (map units?) for the scalebar border
mPen.setWidthF(2.0);

// Plot style
setPlotStyle ( QgsComposition::Preview );

0 comments on commit 52293bf

Please sign in to comment.