diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-05-11 06:35:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-05-11 06:35:28 +0000 |
commit | acedfb8b5db083b901c16e54f8658abb03413343 (patch) | |
tree | 74babadc619a81b10b9f4b3278844456454135b7 | |
parent | 9b340ebc2c4f9091d029bb413c4dcbd58abc40cb (diff) | |
parent | 2365bcd68e938dda93d374dd715c07bd7e4f97b7 (diff) | |
download | xamarin-forms-acedfb8b5db083b901c16e54f8658abb03413343.tar.gz xamarin-forms-acedfb8b5db083b901c16e54f8658abb03413343.tar.bz2 xamarin-forms-acedfb8b5db083b901c16e54f8658abb03413343.zip |
Merge "Label: inform LineBreakMode to elm_label" into tizen
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Label.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Label.cs b/Xamarin.Forms.Platform.Tizen/Native/Label.cs index 44eb5cb9..911ca317 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Label.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Label.cs @@ -342,6 +342,17 @@ namespace Xamarin.Forms.Platform.Tizen.Native } EdjeObject.EmitSignal(emission, "elm"); + + switch (LineBreakMode) + { + case LineBreakMode.NoWrap: + emission = "elm,state,horizontal,expandable"; + break; + default: + emission = "elm,state,horizontal,fixed"; + break; + } + EdjeObject.EmitSignal(emission, "elm"); } - } + } } |