summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-12-04 20:24:48 +0000
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-12-04 20:24:48 +0000
commit86c5bf6daa43e651891d9abaeeefbe3823d9c1ba (patch)
treef3da8b26cfe308ecefc35e5669ef44bd92439b07
parented96310fa5b46c94c9edd6925f3465f1a0d0c117 (diff)
wiked: show a guide in the entry
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 8fc8d8f..9314278 100644
--- a/src/main.c
+++ b/src/main.c
@@ -125,6 +125,7 @@ int elm_main(int argc, char *argv[])
125 evas_object_smart_callback_add(o, "changed", _changed, NULL); 125 evas_object_smart_callback_add(o, "changed", _changed, NULL);
126 elm_entry_single_line_set(o, EINA_TRUE); 126 elm_entry_single_line_set(o, EINA_TRUE);
127 elm_entry_scrollable_set(o, EINA_TRUE); 127 elm_entry_scrollable_set(o, EINA_TRUE);
128 elm_object_part_text_set(o, "guide", "Keyword");
128 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); 129 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
129 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 130 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
130 evas_object_show(o); 131 evas_object_show(o);