From ce345d8434a7bb0edd1a6d72714881beaf0fca51 Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Mon, 14 Jan 2013 07:18:49 +0000 Subject: [PATCH] I am almost 1000% positive this commit is not doing a single thing. But whatever has happened - Buttons are automagically working for some really odd reason. SVN revision: 82745 --- src/bin/ephoto_single_browser.c | 4 ++-- src/bin/ephoto_thumb_browser.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c index 69a89ad..9ecca9c 100644 --- a/src/bin/ephoto_single_browser.c +++ b/src/bin/ephoto_single_browser.c @@ -846,8 +846,8 @@ ephoto_single_browser_add(Ephoto *ephoto, Evas_Object *parent) sb->bar = elm_box_add(sb->main); elm_box_horizontal_set(sb->bar, EINA_TRUE); elm_box_homogeneous_set(sb->bar, EINA_FALSE); - evas_object_size_hint_weight_set(sb->bar, EVAS_HINT_EXPAND, 0.0); - evas_object_size_hint_align_set(sb->bar, EVAS_HINT_FILL, EVAS_HINT_FILL); + evas_object_size_hint_weight_set(sb->bar, 0.0, 0.0); + evas_object_size_hint_align_set(sb->bar, EVAS_HINT_FILL, 0.0); evas_object_show(sb->bar); elm_box_pack_end(sb->main, sb->bar); diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index 3fd7728..695d611 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -504,8 +504,8 @@ ephoto_thumb_browser_add(Ephoto *ephoto, Evas_Object *parent) tb->bar = elm_box_add(tb->main); elm_box_horizontal_set(tb->bar, EINA_TRUE); elm_box_homogeneous_set(tb->bar, EINA_FALSE); - evas_object_size_hint_weight_set(tb->bar, EVAS_HINT_EXPAND, 0.0); - evas_object_size_hint_align_set(tb->bar, EVAS_HINT_FILL, EVAS_HINT_FILL); + evas_object_size_hint_weight_set(tb->bar, 0.0, 0.0); + evas_object_size_hint_align_set(tb->bar, EVAS_HINT_FILL, 0.0); evas_object_show(tb->bar); elm_box_pack_end(tb->main, tb->bar);