parent
ee9c58e627
commit
f435afdb47
|
@ -97,7 +97,7 @@ static void list_view_assign(Ewl_Widget *w, void *data)
|
|||
image_pixels_int_get(image, &width, &height);
|
||||
|
||||
img = add_image(w, image, 1, NULL, NULL);
|
||||
ewl_image_constrain_set(EWL_IMAGE(img), 48);
|
||||
ewl_image_constrain_set(EWL_IMAGE(img), 64);
|
||||
ewl_widget_name_set(w, image);
|
||||
|
||||
size = ecore_file_size(image);
|
||||
|
|
|
@ -204,6 +204,7 @@ static void populate(Ewl_Widget *w, void *event, void *data)
|
|||
imagef = ecore_dlist_current(em->images);
|
||||
|
||||
thumb = add_image(em->fbox, imagef, 1, set_info, NULL);
|
||||
ewl_image_constrain_set(EWL_IMAGE(thumb), 64);
|
||||
ewl_object_alignment_set(EWL_OBJECT(thumb), EWL_FLAG_ALIGN_CENTER);
|
||||
ewl_widget_name_set(thumb, imagef);
|
||||
|
||||
|
|
Loading…
Reference in New Issue