Edje *ed, *ged;
Evas_Object *o;
Eina_List *l;
+ unsigned int i;
ed = _edje_fetch(obj);
if (!ed) return EINA_FALSE;
ged->scale = ed->scale;
EINA_LIST_FOREACH(ed->subobjs, l, o)
edje_object_calc_force(o);
+ for(i = 0; i < ed->table_parts_size; ++i)
+ {
+ Edje_Real_Part *ep;
+ ep = ed->table_parts[i];
+ if ((ep->part->type == EDJE_PART_TYPE_BOX)
+ || (ep->part->type == EDJE_PART_TYPE_TABLE))
+ {
+ EINA_LIST_FOREACH(ep->items, l, o)
+ edje_object_scale_set(o, scale);
+ }
+ }
edje_object_calc_force(obj);
return EINA_TRUE;
}
else
{
/* Match and the same, return */
- if ((tc->size == size) ||
- (tc->font == font) ||
- (tc->font && font && !strcmp(tc->font, font)))
- return EINA_TRUE;
+ if (((tc->font && font) && !strcmp(tc->font, font)) &&
+ (tc->size == size))
+ return EINA_TRUE;
/* Update the class found */
eina_stringshare_replace(&tc->font, font);