From 6cb4a6de487b3c4eb94b1aa3abc01f8c2f1a0bcb Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sun, 15 Nov 2009 01:53:08 +0000 Subject: [PATCH] Use EVAS_HINT_EXPAND/FILL. SVN revision: 43698 --- src/lib/elc_notepad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elc_notepad.c b/src/lib/elc_notepad.c index 8c42a2a..d305638 100644 --- a/src/lib/elc_notepad.c +++ b/src/lib/elc_notepad.c @@ -279,8 +279,8 @@ elm_notepad_add(Evas_Object *parent) wd->scr = elm_scroller_add(parent); elm_widget_resize_object_set(obj, wd->scr); wd->entry = elm_entry_add(parent); - evas_object_size_hint_weight_set(wd->entry, 1.0, 1.0); - evas_object_size_hint_align_set(wd->entry, -1.0, -1.0); + evas_object_size_hint_weight_set(wd->entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(wd->entry, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_scroller_content_set(wd->scr, wd->entry); evas_object_show(wd->entry); -- 2.7.4