Skip to content

Commit

Permalink
[composer] Default to miter style for shapes and page background
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 8, 2014
1 parent e71930f commit 205e812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/composer/qgscomposershape.cpp
Expand Up @@ -81,6 +81,7 @@ void QgsComposerShape::createDefaultShapeStyleSymbol()
properties.insert( "style_border", "solid" );
properties.insert( "color_border", "black" );
properties.insert( "width_border", "0.3" );
properties.insert( "joinstyle", "miter" );
mShapeStyleSymbol = QgsFillSymbolV2::createSimple( properties );

mMaxSymbolBleed = QgsSymbolLayerV2Utils::estimateMaxSymbolBleed( mShapeStyleSymbol );
Expand Down
1 change: 1 addition & 0 deletions src/core/composer/qgscomposition.cpp
Expand Up @@ -277,6 +277,7 @@ void QgsComposition::createDefaultPageStyleSymbol()
properties.insert( "color", "white" );
properties.insert( "style", "solid" );
properties.insert( "style_border", "no" );
properties.insert( "joinstyle", "miter" );
mPageStyleSymbol = QgsFillSymbolV2::createSimple( properties );
}

Expand Down

0 comments on commit 205e812

Please sign in to comment.