welcome: display template icon at correct ratio.

This improves the look of the template project creation
screen. Icons appear the correct size next to their text
description.
This commit is contained in:
Alastair Poole 2018-07-19 11:15:03 +01:00
parent 202b21f423
commit c8d3f56183
1 changed files with 0 additions and 2 deletions

View File

@ -473,8 +473,6 @@ _content_get(void *data, Evas_Object *obj, const char *source)
elm_object_content_set(frame, table);
image = elm_image_add(table);
evas_object_size_hint_weight_set(image, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(image, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_min_set(image, 96 * elm_config_scale_get(), 96 * elm_config_scale_get());
elm_image_file_set(image, template->edje_path, template->edje_id);
evas_object_show(image);