forked from enlightenment/enlightenment
update entry widget to not use deprecated elm scrollbar policy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
189763cde3
commit
c179f70f6a
|
@ -58,7 +58,7 @@ e_widget_entry_add(Evas_Object *parent, char **text_location, void (*func)(void
|
||||||
elm_object_text_set(o, "test");
|
elm_object_text_set(o, "test");
|
||||||
elm_entry_scrollable_set(o, 1);
|
elm_entry_scrollable_set(o, 1);
|
||||||
elm_entry_single_line_set(o, 1);
|
elm_entry_single_line_set(o, 1);
|
||||||
elm_entry_scrollbar_policy_set(o, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
|
elm_scroller_policy_set(o, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
|
||||||
wd->o_entry = o;
|
wd->o_entry = o;
|
||||||
evas_object_size_hint_min_get(wd->o_entry, &minw, &minh);
|
evas_object_size_hint_min_get(wd->o_entry, &minw, &minh);
|
||||||
e_widget_size_min_set(obj, minw, minh);
|
e_widget_size_min_set(obj, minw, minh);
|
||||||
|
|
Loading…
Reference in New Issue