summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghyun Yun <jh0506.yun@samsung.com>2017-02-20 20:51:29 -0800
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-02-20 20:51:29 -0800
commit55264ed05f2717cdc3f73ba07eb7a465c021714c (patch)
treeb15443a10600cf929cbe0f309c9728032fb1f246
parent9f3268ad45fc2e527a5f8c9ee18fb4883a58367c (diff)
parentc9cdbdda36282bd5935c82ab4e74ffcaa5376259 (diff)
downloadelm-sharp-accepted/tizen/mobile/20170222.094404.tar.gz
elm-sharp-accepted/tizen/mobile/20170222.094404.tar.bz2
elm-sharp-accepted/tizen/mobile/20170222.094404.zip
-rw-r--r--[-rwxr-xr-x]ElmSharp/ElmSharp/Entry.cs9
-rw-r--r--[-rwxr-xr-x]ElmSharp/ElmSharp/Label.cs9
2 files changed, 4 insertions, 14 deletions
diff --git a/ElmSharp/ElmSharp/Entry.cs b/ElmSharp/ElmSharp/Entry.cs
index 5647f03..83a7e1b 100755..100644
--- a/ElmSharp/ElmSharp/Entry.cs
+++ b/ElmSharp/ElmSharp/Entry.cs
@@ -305,13 +305,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_entry_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_entry_add(parent.Handle);
}
}
}
diff --git a/ElmSharp/ElmSharp/Label.cs b/ElmSharp/ElmSharp/Label.cs
index 1bcb5b3..6c30010 100755..100644
--- a/ElmSharp/ElmSharp/Label.cs
+++ b/ElmSharp/ElmSharp/Label.cs
@@ -100,13 +100,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_label_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_label_add(parent.Handle);
}
}