summaryrefslogtreecommitdiff
path: root/src/examples/genlist_example_03.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-26 06:41:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-26 06:41:22 +0000
commit829b416172618aeb9053f7962b837f3bc3ba3e28 (patch)
treeaa4c5a5f7134f91ca536a62bf2c51b0d38abc5bc /src/examples/genlist_example_03.c
parent64ac0ae2c945f1ec652de413b78eca7ffb986e0f (diff)
setitng min/max size hint on an elm obj actually should not be done
because elm controls these itself. examples all wrong in thsi regard. fix! SVN revision: 74414
Diffstat (limited to 'src/examples/genlist_example_03.c')
-rw-r--r--src/examples/genlist_example_03.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/examples/genlist_example_03.c b/src/examples/genlist_example_03.c
index 62642661d..c413cb1c3 100644
--- a/src/examples/genlist_example_03.c
+++ b/src/examples/genlist_example_03.c
@@ -52,7 +52,6 @@ _genlist_add(Evas_Object *box)
52 Evas_Object *list = elm_genlist_add(elm_object_parent_widget_get(box)); 52 Evas_Object *list = elm_genlist_add(elm_object_parent_widget_get(box));
53 evas_object_size_hint_weight_set(list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 53 evas_object_size_hint_weight_set(list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
54 evas_object_size_hint_align_set(list, EVAS_HINT_FILL, EVAS_HINT_FILL); 54 evas_object_size_hint_align_set(list, EVAS_HINT_FILL, EVAS_HINT_FILL);
55 evas_object_size_hint_min_set(list, 200, 160);
56 elm_box_pack_end(box, list); 55 elm_box_pack_end(box, list);
57 evas_object_show(list); 56 evas_object_show(list);
58 57
@@ -118,8 +117,6 @@ elm_main(int argc, char **argv)
118 elm_genlist_mode_set(list, ELM_LIST_COMPRESS); 117 elm_genlist_mode_set(list, ELM_LIST_COMPRESS);
119 _genlist_fill(list); 118 _genlist_fill(list);
120 119
121 evas_object_size_hint_min_set(bg, 800, 160);
122 evas_object_size_hint_max_set(bg, 800, 640);
123 evas_object_resize(win, 800, 320); 120 evas_object_resize(win, 800, 320);
124 evas_object_show(win); 121 evas_object_show(win);
125 122