From 3aaf8d5ee227838877582fc993a2666764d112cc Mon Sep 17 00:00:00 2001 From: Jeonghyun Yun Date: Wed, 13 Sep 2017 13:46:57 +0900 Subject: [PATCH] [ElmSharp] Remove layout for Button Remove internal layout for Elm.Button because of floating button issue. There are no issues with this deletion because button theme already have opacity part in all profile efl-theme. Button theme will have this opacity part next version also. TASK=TCAPI-2682, EFL-981 Change-Id: I75e9daffd13ac3823fcc55a7a4b7012b70f36889 Signed-off-by: Jeonghyun Yun --- src/ElmSharp/ElmSharp/Button.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/ElmSharp/ElmSharp/Button.cs b/src/ElmSharp/ElmSharp/Button.cs index 51a1fa7..627c89d 100755 --- a/src/ElmSharp/ElmSharp/Button.cs +++ b/src/ElmSharp/ElmSharp/Button.cs @@ -165,13 +165,7 @@ namespace ElmSharp protected override IntPtr CreateHandle(EvasObject parent) { - IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle); - Interop.Elementary.elm_layout_theme_set(handle, "layout", "elm_widget", "default"); - - RealHandle = Interop.Elementary.elm_button_add(handle); - Interop.Elementary.elm_object_part_content_set(handle, "elm.swallow.content", RealHandle); - - return handle; + return Interop.Elementary.elm_button_add(parent.Handle); } } -} \ No newline at end of file +} -- 2.7.4