Skip to content
Permalink
Browse files

Test updates

(cherry picked from commit 467f4f1)
  • Loading branch information
nyalldawson committed Nov 20, 2020
1 parent dcb9940 commit 2fe28dd89fb4b6b6a203d8d667e31e5d2cf76a6a
@@ -216,6 +216,7 @@ void TestQgsFontMarkerSymbol::opacityWithDataDefinedColor()
mFontMarkerLayer->setStrokeColor( QColor( 0, 0, 0 ) );
QFont font = QgsFontUtils::getStandardTestFont( QStringLiteral( "Bold" ) );
mFontMarkerLayer->setFontFamily( font.family() );
mFontMarkerLayer->setDataDefinedProperties( QgsPropertyCollection() );
mFontMarkerLayer->setCharacter( QChar( 'X' ) );
mFontMarkerLayer->setSize( 12 );
mFontMarkerLayer->setDataDefinedProperty( QgsSymbolLayer::PropertyFillColor, QgsProperty::fromExpression( QStringLiteral( "if(importance > 2, 'red', 'green')" ) ) );
Binary file not shown.
Binary file not shown.

0 comments on commit 2fe28dd

Please sign in to comment.
You can’t perform that action at this time.