From: Christopher Michael Date: Sun, 15 Nov 2009 01:53:08 +0000 (+0000) Subject: Use EVAS_HINT_EXPAND/FILL. X-Git-Tag: v1.0.0~4997 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cb4a6de487b3c4eb94b1aa3abc01f8c2f1a0bcb;p=platform%2Fupstream%2Felementary.git Use EVAS_HINT_EXPAND/FILL. SVN revision: 43698 --- 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);