From 941de7187b2120c1c81e69a53048f92b71f9d8f2 Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Wed, 22 Aug 2012 22:01:18 +0000 Subject: [PATCH] ephoto: avoid theme complaints I suppose elm will take care of making this button big enough to be used considering user configs and such. finger size, scale, ... SVN revision: 75577 --- src/bin/ephoto_single_browser.c | 1 - src/bin/ephoto_thumb_browser.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c index d5a502c..1cb5381 100644 --- a/src/bin/ephoto_single_browser.c +++ b/src/bin/ephoto_single_browser.c @@ -813,7 +813,6 @@ _button_add(Evas_Object *box, const char *image) ic = elm_icon_add(but); elm_image_file_set(ic, image, NULL); - evas_object_size_hint_min_set(ic, 16, 16); evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1); elm_object_content_set(but, ic); diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index a1ce55e..98b28cd 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -450,7 +450,6 @@ _button_add(Evas_Object *box, const char *image) ic = elm_icon_add(but); elm_image_file_set(ic, image, NULL); - evas_object_size_hint_min_set(ic, 16, 16); evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1); elm_object_content_set(but, ic);