X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftext-fonts%2Ftext-fonts-example.cpp;h=cd208147cefe2012df9491d6a34364b16d588c81;hb=55a02b828eb6b73630f7c11639351aaff01c24bd;hp=1519b87bf1c2546c6fa9310d8efdbc2d4acb803f;hpb=39e4a484b608fb6746f39b8563b888370370023f;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/text-fonts/text-fonts-example.cpp b/examples/text-fonts/text-fonts-example.cpp index 1519b87..cd20814 100644 --- a/examples/text-fonts/text-fonts-example.cpp +++ b/examples/text-fonts/text-fonts-example.cpp @@ -80,8 +80,10 @@ public: } else { - textLabel.SetProperty( TextLabel::Property::SHADOW_OFFSET, Vector2( 0.3f, 0.3f ) ); - textLabel.SetProperty( TextLabel::Property::SHADOW_COLOR, Color::BLACK ); + Property::Map shadowMap; + shadowMap.Insert( "color", Color::BLACK ); + shadowMap.Insert( "offset", Vector2( 0.3f, 0.3f ) ); + textLabel.SetProperty( TextLabel::Property::SHADOW, shadowMap ); textLabel.SetProperty( TextLabel::Property::TEXT_COLOR, Color::BLUE ); } textLabel.SetBackgroundColor( color );