forked from enlightenment/efl
edje should only apply "calculated" text size if that size exists
fixes text.source sizing when size is not specified in child part
This commit is contained in:
parent
5f376fde36
commit
e6f0deca27
|
@ -255,7 +255,8 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
|
|||
sh = TO_INT(params->eval.h);
|
||||
}
|
||||
|
||||
size = params->type.text.size;
|
||||
if (params->type.text.size)
|
||||
size = params->type.text.size;
|
||||
if (!text) text = "";
|
||||
|
||||
if ((text == ep->typedata.text->cache.in_str)
|
||||
|
|
Loading…
Reference in New Issue