elementary/naviframe - fix the naviframe to resize it's items which are inserted.

SVN revision: 79862
This commit is contained in:
ChunEon Park 2012-11-30 06:22:48 +00:00
parent 5147620d6c
commit 0501c64ddd
3 changed files with 9 additions and 2 deletions

View File

@ -725,4 +725,8 @@
2012-11-29 Thiep Ha
* Entry: add a mode to clear selection when entry loose focus.
* Entry: add a mode to clear selection when entry loose focus.
2012-11-30 ChunEon Park (Hermet)
* Fix the naviframe to resize it's items which are inserted.

View File

@ -66,7 +66,8 @@ Fixes:
* Fix the naviframe to clear the title contents when it's item is deleted.
* Fix entry to enable have_selection only when a text is actually selected.
* Fix the naviframe to clear the text parts when it's item is deleted.
* Fix the mapbuf to update it's content correcltly evenif they go outside of the buffer.
* Fix the mapbuf to update it's content correcltly evenif they go outside of the buffer.
* Fix the naviframe to resize it's items which are inserted.
Removals:

View File

@ -1454,6 +1454,7 @@ _item_insert_before(Eo *obj, void *_pd, va_list *list)
it = _item_new(obj, prev_it,
title_label, prev_btn, next_btn, content, item_style);
if (!it) return;
elm_widget_resize_object_set(obj, VIEW(it));
sd->stack = eina_inlist_prepend_relative
(sd->stack, EINA_INLIST_GET(it),
@ -1500,6 +1501,7 @@ _item_insert_after(Eo *obj, void *_pd, va_list *list)
it = _item_new(obj, (Elm_Naviframe_Item *)after,
title_label, prev_btn, next_btn, content, item_style);
if (!it) return;
elm_widget_resize_object_set(obj, VIEW(it));
if (elm_naviframe_top_item_get(obj) == after) top_inserted = EINA_TRUE;