Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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/qgis@5565 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 7, 2006
1 parent 5a60618 commit 2fd9053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/composer/qgscomposerscalebar.cpp
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 2fd9053

Please sign in to comment.