summaryrefslogtreecommitdiff
path: root/src/examples/gengrid_example.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/gengrid_example.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/gengrid_example.c')
-rw-r--r--src/examples/gengrid_example.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c
index e3b345d60..3d8b39ae3 100644
--- a/src/examples/gengrid_example.c
+++ b/src/examples/gengrid_example.c
@@ -448,7 +448,6 @@ elm_main(int argc,
448 grid = elm_gengrid_add(win); 448 grid = elm_gengrid_add(win);
449 elm_gengrid_item_size_set(grid, 150, 150); 449 elm_gengrid_item_size_set(grid, 150, 150);
450 evas_object_size_hint_weight_set(grid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 450 evas_object_size_hint_weight_set(grid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
451 evas_object_size_hint_min_set(grid, 600, 500);
452 elm_box_pack_end(bx, grid); 451 elm_box_pack_end(bx, grid);
453 evas_object_smart_callback_add(grid, "clicked,double", _double_click, NULL); 452 evas_object_smart_callback_add(grid, "clicked,double", _double_click, NULL);
454 evas_object_smart_callback_add(grid, "longpressed", _long_pressed, NULL); 453 evas_object_smart_callback_add(grid, "longpressed", _long_pressed, NULL);