[Tizen] make same as LineWrap mode for TextLabel and TextEditor
authordongsug.song <dongsug.song@samsung.com>
Thu, 10 Aug 2017 02:32:28 +0000 (11:32 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 10 Aug 2017 02:32:28 +0000 (11:32 +0900)
Change-Id: I57404b214bf79fe5df8513fff159fc2817202357
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs

index 5ccab67..ea82e1f 100755 (executable)
@@ -1342,9 +1342,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;
@@ -1357,12 +1357,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 4abad84..e6d5f47 100755 (executable)
@@ -784,9 +784,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;