From 56d364dded10416323af93be62c74e003ccb8375 Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Sun, 25 Jan 2015 10:25:23 -0600 Subject: [PATCH] Ephoto: Oops. 9.0 is probably not a very good weight. --- src/bin/ephoto_thumb_browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index d4fc159..3cc9997 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -740,6 +740,7 @@ ephoto_thumb_browser_add(Ephoto *ephoto, Evas_Object *parent) tb->bar = elm_toolbar_add(vbox); elm_toolbar_horizontal_set(tb->bar, EINA_TRUE); + elm_toolbar_homogeneous_set(tb->bar, EINA_TRUE); elm_toolbar_shrink_mode_set(tb->bar, ELM_TOOLBAR_SHRINK_NONE); elm_toolbar_select_mode_set(tb->bar, ELM_OBJECT_SELECT_MODE_NONE); evas_object_size_hint_weight_set(tb->bar, EVAS_HINT_EXPAND, 0.0); @@ -766,7 +767,7 @@ ephoto_thumb_browser_add(Ephoto *ephoto, Evas_Object *parent) hbox = elm_box_add(vbox); elm_box_horizontal_set(hbox, EINA_TRUE); - evas_object_size_hint_weight_set(hbox, 9.0, 0.0); + evas_object_size_hint_weight_set(hbox, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(hbox, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_box_pack_end(vbox, hbox); evas_object_show(hbox);