Revert "[Tizen] Fix Underline property issue"
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 18 Feb 2019 05:41:44 +0000 (14:41 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Mon, 18 Feb 2019 05:41:44 +0000 (14:41 +0900)
This reverts commit f3de60f88f1630cfb631c2f9e1b0e83fd8e8dab8.

dali-toolkit/internal/text/text-effects-style.cpp

index 10d9da4..f65655b 100755 (executable)
@@ -358,9 +358,16 @@ void GetUnderlineProperties( ControllerPtr controller, Property::Value& value, E
         {
           Property::Map map;
 
         {
           Property::Map map;
 
-          map.Insert( ENABLE_KEY, enabled );
-          map.Insert( COLOR_KEY, color );
-          map.Insert( HEIGHT_KEY, height );
+          const std::string enabledStr = enabled ? TRUE_TOKEN : FALSE_TOKEN;
+          map.Insert( ENABLE_KEY, enabledStr );
+
+          std::string colorStr;
+          Vector4ToColorString( color, colorStr );
+          map.Insert( COLOR_KEY, colorStr );
+
+          std::string heightStr;
+          FloatToString( height, heightStr );
+          map.Insert( HEIGHT_KEY, heightStr );
 
           value = map;
         }
 
           value = map;
         }