mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Set default margin units to MM
This commit is contained in:
parent
3a1d47fef7
commit
4af65e6329
@ -47,7 +47,7 @@ QgsDecorationCopyright::QgsDecorationCopyright( QObject* parent )
|
||||
, mMarginVertical( 0 )
|
||||
{
|
||||
mPlacement = BottomRight;
|
||||
mMarginUnit = QgsSymbolV2::Pixel;
|
||||
mMarginUnit = QgsSymbolV2::MM;
|
||||
|
||||
setName( "Copyright Label" );
|
||||
// initialise default values in the gui
|
||||
|
@ -46,7 +46,7 @@ QgsDecorationItem::QgsDecorationItem( QObject* parent )
|
||||
: QObject( parent )
|
||||
, mEnabled( false )
|
||||
, mPlacement( TopLeft )
|
||||
, mMarginUnit( QgsSymbolV2::Pixel )
|
||||
, mMarginUnit( QgsSymbolV2::MM )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ QgsDecorationNorthArrow::QgsDecorationNorthArrow( QObject* parent )
|
||||
, mMarginVertical( 0 )
|
||||
{
|
||||
mPlacement = BottomLeft;
|
||||
mMarginUnit = QgsSymbolV2::Pixel;
|
||||
mMarginUnit = QgsSymbolV2::MM;
|
||||
|
||||
setName( "North Arrow" );
|
||||
projectRead();
|
||||
|
@ -55,7 +55,7 @@ QgsDecorationScaleBar::QgsDecorationScaleBar( QObject* parent )
|
||||
, mMarginVertical( 0 )
|
||||
{
|
||||
mPlacement = TopLeft;
|
||||
mMarginUnit = QgsSymbolV2::Pixel;
|
||||
mMarginUnit = QgsSymbolV2::MM;
|
||||
mStyleLabels << tr( "Tick Down" ) << tr( "Tick Up" )
|
||||
<< tr( "Bar" ) << tr( "Box" );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user