From f937aa5cfc16516aacc64edee5460c10e1a25e11 Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Fri, 10 Sep 2010 17:20:59 +0900 Subject: [PATCH] Issue fixed: when title object and title is set or unset with in a page it was not reflecting correctly. --- src/lib/elm_navigationbar.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_navigationbar.c b/src/lib/elm_navigationbar.c index 37af6af..9dbd3cb 100644 --- a/src/lib/elm_navigationbar.c +++ b/src/lib/elm_navigationbar.c @@ -768,8 +768,12 @@ elm_navigationbar_title_label_set(Evas_Object *obj, { if (it->content == content) { - eina_stringshare_replace(&it->title, title); - edje_object_part_text_set(wd->base, "elm.text", title); + if(!title) + { + edje_object_signal_emit(wd->base, "elm,state,retract,title", "elm"); + } + eina_stringshare_replace(&it->title, title); + edje_object_part_text_set(wd->base, "elm.text", title); _item_sizing_eval(it); break; } @@ -860,6 +864,7 @@ elm_navigationbar_title_object_add(Evas_Object *obj, } } } + _item_sizing_eval(it); } /** -- 2.7.4