Languages

Menu
Sites
Language
Image get stretched in gengrid view

Hello, I am displaying an images in grid view but my image get stretched.
i want to show center croped image or the portion of image which fits into grid size.

Anyone help me???

View Selected Answer

Responses

3 Replies
Shaswati Saha
Would you please share screenshot of the display and your source code here?
Mark as answer
Deepak Khunt

Hello bhoomika rathod , set the 

elm_image_fill_outside_set(img, EINA_TRUE);

property in Gengrid_Content_Get_Cb to the image , that will Center Crop Your Image and will not be stretched.

bhoomika rathod

Thank you Deepak Khunt for the solution.