path: root/legacy/elementary/src/bin
diff options
authorHyoyoung Chang <hyoyoung@gmail.com>2012-01-06 05:50:33 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-01-06 05:50:33 +0000
commit781a6ab4db351d630ae4e618fe95946d41cbc488 (patch)
treec981b3c670750c4e64f96fc07eb4a0d1cc45d579 /legacy/elementary/src/bin
parentElementary Test Index: Cast list item to object item (diff)
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_photo - add aspect_ratio_retained_{set/get} Date: Fri, 6 Jan 2012 12:20:33 +0900 Dear all. elm_photo doesn't have resizing functions which are not follow original photo file ratio (vertical/horizontal). so i copied aspect_ration_reatined functions from elm_image. also it fixes photo menu bug in elementary_test. currently photo window has a bug which cannot display non-square images correctly. Thanks SVN revision: 66924
Diffstat (limited to 'legacy/elementary/src/bin')
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c
index 43505100bf..a994b673dc 100644
--- a/legacy/elementary/src/bin/test_photo.c
+++ b/legacy/elementary/src/bin/test_photo.c
@@ -51,6 +51,7 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
elm_app_data_dir_get(), img[n]);
if (n >= 9) n = 0;
+ elm_photo_aspect_fixed_set(ph, EINA_FALSE);
elm_photo_size_set(ph, 80);
if (n == 8)
elm_photo_thumb_set(ph, buf, NULL);