More EVAS_HINT_EXPAND fixes
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 28 Sep 2009 18:55:18 +0000 (18:55 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 28 Sep 2009 18:55:18 +0000 (18:55 +0000)
SVN revision: 42777

src/bin/test_anchorview.c

index fe3eff9..d231ca0 100644 (file)
@@ -79,7 +79,7 @@ test_anchorview(void *data, Evas_Object *obj, void *event_info)
 
    bg = elm_bg_add(win);
    elm_win_resize_object_add(win, bg);
-   evas_object_size_hint_weight_set(bg, 1.0, 1.0);
+   evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_show(bg);
 
    av = elm_anchorview_add(win);
@@ -93,7 +93,7 @@ test_anchorview(void *data, Evas_Object *obj, void *event_info)
                       "in here to edit it. By the way, links are<br>"
                       "called <a href=anc-02>Anchors</a> so you will need<br>"
                       "to refer to them this way.");
-   evas_object_size_hint_weight_set(av, 1.0, 1.0);
+   evas_object_size_hint_weight_set(av, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_smart_callback_add(av, "anchor,clicked", my_anchorview_anchor, av);
    elm_win_resize_object_add(win, av);
    evas_object_show(av);