[genlist, gen, gen_common] merge upstream except for elm_genlist.c
[framework/uifw/elementary.git] / src / examples / genlist_example_03.c
index 1f67c8c..ec25ced 100644 (file)
@@ -111,20 +111,16 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
         _itc->func.state_get = NULL;
         _itc->func.del = NULL;
      }
-   
-   list = _genlist_add(box);
-   _genlist_fill(list);
 
    list = _genlist_add(box);
-   elm_genlist_mode_set(list, ELM_LIST_LIMIT);
    _genlist_fill(list);
 
    list = _genlist_add(box);
-   elm_genlist_compress_mode_set(list, EINA_TRUE);
+   elm_genlist_mode_set(list, ELM_LIST_LIMIT);
    _genlist_fill(list);
 
    list = _genlist_add(box);
-   elm_genlist_height_for_width_mode_set(list, EINA_TRUE);
+   elm_genlist_mode_set(list, ELM_LIST_COMPRESS);
    _genlist_fill(list);
 
    evas_object_size_hint_min_set(bg, 800, 160);