Again, don't scale if it isn't enabled.

This commit is contained in:
Jaime Thomas 2009-02-26 22:40:21 +00:00
parent 4a389c96a0
commit 6367f59df8

View File

@ -869,10 +869,14 @@ ecdb_combo_expand(Evas_Object *c)
while (eina_iterator_next(it, (void **)&o)) while (eina_iterator_next(it, (void **)&o))
{ {
/* I should probably this into a minimum_size_calc... */
min_size = edje_object_data_get(o, "ecdb/combo_item/minh"); min_size = edje_object_data_get(o, "ecdb/combo_item/minh");
if (min_size) if (min_size)
{ {
h2 += (int)((float)atoi(min_size) * em->scalef); if (ecore_config_boolean_get("use_scale"))
h2 += (int)((float)atoi(min_size) * em->scalef);
else
h2 += (int)atoi(min_size);
} }
else else
{ {