Skip to content

Commit

Permalink
Fix for ticket #178. The default value of the scale bar border line
Browse files Browse the repository at this point in the history
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 52293bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/composer/qgscomposerscalebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 52293bf

Please sign in to comment.