@@ -281,13 +281,13 @@ QgsPalLayerSettings::QgsPalLayerSettings()
281
281
shadowDraw = false ;
282
282
shadowUnder = ShadowLowest;
283
283
shadowOffsetAngle = 135 ;
284
- shadowOffsetDist = 0 .0 ;
284
+ shadowOffsetDist = 1 .0 ;
285
285
shadowOffsetUnits = MM;
286
286
shadowOffsetGlobal = true ;
287
- shadowRadius = 0.0 ;
287
+ shadowRadius = 1.5 ;
288
288
shadowRadiusUnits = MM;
289
289
shadowRadiusAlphaOnly = false ;
290
- shadowTransparency = 0 ;
290
+ shadowTransparency = 30 ;
291
291
shadowScale = 100 ;
292
292
shadowColor = Qt::black;
293
293
shadowBlendMode = QPainter::CompositionMode_Multiply;
@@ -689,13 +689,13 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer )
689
689
shadowDraw = layer->customProperty ( " labeling/shadowDraw" , QVariant ( false ) ).toBool ();
690
690
shadowUnder = ( ShadowType )layer->customProperty ( " labeling/shadowUnder" , QVariant ( ShadowLowest ) ).toUInt ();// ShadowLowest;
691
691
shadowOffsetAngle = layer->customProperty ( " labeling/shadowOffsetAngle" , QVariant ( 135 ) ).toInt ();
692
- shadowOffsetDist = layer->customProperty ( " labeling/shadowOffsetDist" , QVariant ( 0 .0 ) ).toDouble ();
692
+ shadowOffsetDist = layer->customProperty ( " labeling/shadowOffsetDist" , QVariant ( 1 .0 ) ).toDouble ();
693
693
shadowOffsetUnits = ( SizeUnit )layer->customProperty ( " labeling/shadowOffsetUnits" , QVariant ( MM ) ).toUInt ();
694
694
shadowOffsetGlobal = layer->customProperty ( " labeling/shadowOffsetGlobal" , QVariant ( true ) ).toBool ();
695
- shadowRadius = layer->customProperty ( " labeling/shadowRadius" , QVariant ( 0.0 ) ).toDouble ();
695
+ shadowRadius = layer->customProperty ( " labeling/shadowRadius" , QVariant ( 1.5 ) ).toDouble ();
696
696
shadowRadiusUnits = ( SizeUnit )layer->customProperty ( " labeling/shadowRadiusUnits" , QVariant ( MM ) ).toUInt ();
697
697
shadowRadiusAlphaOnly = layer->customProperty ( " labeling/shadowRadiusAlphaOnly" , QVariant ( false ) ).toBool ();
698
- shadowTransparency = layer->customProperty ( " labeling/shadowTransparency" , QVariant ( 0 ) ).toInt ();
698
+ shadowTransparency = layer->customProperty ( " labeling/shadowTransparency" , QVariant ( 30 ) ).toInt ();
699
699
shadowScale = layer->customProperty ( " labeling/shadowScale" , QVariant ( 100 ) ).toInt ();
700
700
shadowColor = _readColor ( layer, " labeling/shadowColor" , Qt::black, false );
701
701
shadowBlendMode = QgsMapRenderer::getCompositionMode (
0 commit comments