[Tizen] make same as LineWrap mode for TextLabel and TextEditor 22/144122/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 11:19:10 +0000 (20:19 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 11:19:11 +0000 (20:19 +0900)
This reverts commit 266830780d32cead735609c381003ceeedf9633a.

Change-Id: I135dc3b5655f44e37facaca8eb34a9cfa28ddcaf

Tizen.NUI/src/public/BaseComponents/TextEditor.cs
Tizen.NUI/src/public/BaseComponents/TextLabel.cs

index eaff977..11e8199 100755 (executable)
@@ -1347,9 +1347,9 @@ namespace Tizen.NUI.BaseComponents
                 }
                 switch (temp)
                 {
-                    case "WORD":
+                    case "WRAP_MODE_WORD":
                     return LineWrapMode.Word;
-                    case "CHARACTER":
+                    case "WRAP_MODE_CHARACTER":
                     return LineWrapMode.Character;
                     default:
                     return LineWrapMode.Word;
@@ -1362,12 +1362,12 @@ namespace Tizen.NUI.BaseComponents
                 {
                     case LineWrapMode.Word:
                     {
-                        temp = "WORD";
+                        temp = "WRAP_MODE_WORD";
                         break;
                     }
                     case LineWrapMode.Character:
                     {
-                        temp = "CHARACTER";
+                        temp = "WRAP_MODE_CHARACTER";
                         break;
                     }
                 }
index 7cd13e3..e201109 100755 (executable)
@@ -811,9 +811,9 @@ namespace Tizen.NUI.BaseComponents
                 }
                 switch (temp)
                 {
-                    case "WORD":
+                    case "WRAP_MODE_WORD":
                     return LineWrapMode.Word;
-                    case "CHARACTER":
+                    case "WRAP_MODE_CHARACTER":
                     return LineWrapMode.Character;
                     default:
                     return LineWrapMode.Word;