elementary: update the min size hint on elm_label after a text set

SVN revision: 79517
This commit is contained in:
Michael BOUCHAUD 2012-11-21 17:09:44 +00:00
parent 4c4b54c993
commit 923765d6ba
3 changed files with 13 additions and 1 deletions

View File

@ -688,3 +688,7 @@
* Support indicator service in elm_conformant. elm conformant can manage
indicator(elm_plug).
2012-11-14 Michael Bouchaud (yoz)
* update the min size hint on elm_label after a text set

View File

@ -58,6 +58,7 @@ Fixes:
* Fix wrong parameter for thumbnail error in elm_icon.
* Fix missing selected event in elm_index (elm_index_item_selected_set)
* Fix the elm_image which is made up of a edje object can call a callback function
* Fix update the min size hint on elm_label after a text set
Removals:

View File

@ -293,7 +293,14 @@ _elm_label_smart_text_set(Evas_Object *obj,
if (!label) label = "";
_label_format_set(ELM_WIDGET_DATA(sd)->resize_obj, sd->format);
return _elm_label_parent_sc->text_set(obj, item, label);
if (_elm_label_parent_sc->text_set(obj, item, label))
{
sd->lastw = 0;
_elm_label_smart_sizing_eval(obj);
return EINA_TRUE;
}
return EINA_FALSE;
}
static Eina_Bool