forked from enlightenment/edi
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:
parent
202b21f423
commit
c8d3f56183
|
@ -473,8 +473,6 @@ _content_get(void *data, Evas_Object *obj, const char *source)
|
||||||
elm_object_content_set(frame, table);
|
elm_object_content_set(frame, table);
|
||||||
|
|
||||||
image = elm_image_add(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());
|
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);
|
elm_image_file_set(image, template->edje_path, template->edje_id);
|
||||||
evas_object_show(image);
|
evas_object_show(image);
|
||||||
|
|
Loading…
Reference in New Issue