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 0fecb5f4d3
commit a3ecf782c5

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)
{ {
if (ecore_config_boolean_get("use_scale"))
h2 += (int)((float)atoi(min_size) * em->scalef); h2 += (int)((float)atoi(min_size) * em->scalef);
else
h2 += (int)atoi(min_size);
} }
else else
{ {