From 5acd9305411752cc5ffde60fdf5d51b5a26e33d3 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 14 Aug 2017 20:19:10 +0900 Subject: [PATCH] [Tizen] make same as LineWrap mode for TextLabel and TextEditor This reverts commit 266830780d32cead735609c381003ceeedf9633a. Change-Id: I135dc3b5655f44e37facaca8eb34a9cfa28ddcaf --- Tizen.NUI/src/public/BaseComponents/TextEditor.cs | 8 ++++---- Tizen.NUI/src/public/BaseComponents/TextLabel.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index eaff977..11e8199 100755 --- a/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -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; } } diff --git a/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 7cd13e3..e201109 100755 --- a/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -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; -- 2.7.4