From 83abb4ce458f6eb796881284cee81548d2a42d48 Mon Sep 17 00:00:00 2001 From: Sungtaek Hong Date: Tue, 28 Mar 2017 22:35:44 +0900 Subject: [PATCH] Do not use layout for button - It will be fixed if some bugs are fixed. - Opacity will temporarily supported by clipper in theme. (https://review.tizen.org/gerrit/#/c/121724/) Change-Id: I13db906281964afa976919e528a1b5d95ee29d25 Signed-off-by: Sungtaek Hong --- src/ElmSharp/ElmSharp/Button.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ElmSharp/ElmSharp/Button.cs b/src/ElmSharp/ElmSharp/Button.cs index e369054..cf6155c 100755 --- a/src/ElmSharp/ElmSharp/Button.cs +++ b/src/ElmSharp/ElmSharp/Button.cs @@ -163,13 +163,8 @@ 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; + //TODO: Fix this to use layout + return Interop.Elementary.elm_button_add(parent.Handle); } } } -- 2.7.4