From: Christopher Michael Date: Mon, 9 Nov 2009 13:14:05 +0000 (+0000) Subject: Use EVAS_HINT_EXPAND/EVAS_HINT_FILL. X-Git-Tag: v1.0.0~5022 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ec3e18a232d840001da7cb608b1c7f58196a3f4;p=platform%2Fupstream%2Felementary.git Use EVAS_HINT_EXPAND/EVAS_HINT_FILL. SVN revision: 43583 --- diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index f2bf83079..0a3d66e70 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -386,8 +386,8 @@ elm_toolbar_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, voi elm_coords_finger_size_adjust(1, &mw, 1, &mh); edje_object_size_min_restricted_calc(it->base, &mw, &mh, mw, mh); elm_coords_finger_size_adjust(1, &mw, 1, &mh); - evas_object_size_hint_weight_set(it->base, -1.0, 1.0); - evas_object_size_hint_align_set(it->base, 0.5, -1.0); + evas_object_size_hint_weight_set(it->base, -1.0, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(it->base, 0.5, EVAS_HINT_FILL); evas_object_size_hint_min_set(it->base, mw, mh); evas_object_box_append(wd->bx, it->base); evas_object_show(it->base);