X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftext-fonts%2Ftext-fonts-example.cpp;h=cd208147cefe2012df9491d6a34364b16d588c81;hb=82b918dbf06743b21be30bd10d7d6eb9fe58e339;hp=876b55f77b3b0ad82093716bc15053e31cbe5260;hpb=976fba0b1a5f292c3f362c12d4f267bc41294705;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 old mode 100755 new mode 100644 index 876b55f..cd20814 --- a/examples/text-fonts/text-fonts-example.cpp +++ b/examples/text-fonts/text-fonts-example.cpp @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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 );