From: Jeonghyun Yun Date: Wed, 13 Sep 2017 04:46:57 +0000 (+0900) Subject: [ElmSharp] Remove layout for Button X-Git-Tag: preview1-00217~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F149746%2F1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [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 --- 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 +}