Tizen will ignore legacy calculation logics for Textblock parts.
@tizen_fix
Change-Id: I886fc39a2385f1153e76f124497b2fa579f65bab
evas_object_textblock_text_markup_set(ep->object, text);
}
+ /* TIZEN_ONLY(20180103): don't run legacy calculation for Textblock parts
if ((ed->file->efl_version.major >= 1) && (ed->file->efl_version.minor >= 19))
{
_edje_part_recalc_single_textblock_min_max_calc(ep,
minw, minh,
maxw, maxh);
}
+ */
+ _edje_part_recalc_single_textblock_min_max_calc(ep,
+ chosen_desc,
+ params,
+ minw, minh,
+ maxw, maxh);
+ /* END */
}
/***********************************************************************************
* To keep backward compatibility, legacy_calc will be used for old version of EDJ files.
* With enabling legacy_calc, You can't see proper min/max result accroding to documents.
*/
+ /* TIZEN_ONLY(20180103): don't run legacy calculation for Textblock parts
if (!ed->file || ((ed->file->efl_version.major >= 1) && (ed->file->efl_version.minor >= 19)))
legacy_calc = EINA_FALSE;
else
legacy_calc = EINA_TRUE;
+ */
+ legacy_calc = EINA_FALSE;
+ /* END */
//Simulate object minimum size.
ed->calc_only = EINA_TRUE;