okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=56d364dded10416323af93be62c74e003ccb8375

commit 56d364dded10416323af93be62c74e003ccb8375
Author: Stephen Houston <smhousto...@gmail.com>
Date:   Sun Jan 25 10:25:23 2015 -0600

    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);

-- 


Reply via email to