X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftext-fonts%2Ftext-fonts-example.cpp;h=cd208147cefe2012df9491d6a34364b16d588c81;hb=55a02b828eb6b73630f7c11639351aaff01c24bd;hp=876b55f77b3b0ad82093716bc15053e31cbe5260;hpb=a1d8aec7074b6680c717343721644f7556f631fe;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 );