EPhoto: Fix issue with buttons in theme & single browser mode (if the

elm fingersize was set to small (5) then the buttons where barely
clickable). Ok'd by Okra.



SVN revision: 60822
This commit is contained in:
Christopher Michael 2011-06-29 14:58:37 +00:00
parent 017fa038be
commit c6930ed149
2 changed files with 4 additions and 0 deletions

View File

@ -804,6 +804,8 @@ _button_add(Evas_Object *box, const char *image)
ic = elm_icon_add(but);
elm_icon_file_set(ic, image, NULL);
evas_object_size_hint_min_set(ic, 16, 16);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(but, ic);
evas_object_size_hint_align_set(but, EVAS_HINT_FILL, EVAS_HINT_FILL);

View File

@ -476,6 +476,8 @@ _button_add(Evas_Object *box, const char *image)
ic = elm_icon_add(but);
elm_icon_file_set(ic, image, NULL);
evas_object_size_hint_min_set(ic, 16, 16);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_button_icon_set(but, ic);
evas_object_size_hint_align_set(but, EVAS_HINT_FILL, EVAS_HINT_FILL);