clouseau: Use genlist compress mode for text ellipsis.

SVN revision: 72986
This commit is contained in:
Daniel Juyung Seo 2012-06-28 08:54:27 +00:00
parent 994427fde8
commit 7aac83c770
2 changed files with 2 additions and 0 deletions

View File

@ -1659,6 +1659,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
/* The main list */
{
gui->gl = elm_genlist_add(panes);
elm_genlist_mode_set(gui->gl, ELM_LIST_COMPRESS);
evas_object_size_hint_align_set(gui->gl,
EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(gui->gl,

View File

@ -396,6 +396,7 @@ Evas_Object *
clouseau_obj_information_list_add(Evas_Object *parent)
{
prop_list = elm_genlist_add(parent);
elm_genlist_mode_set(prop_list, ELM_LIST_COMPRESS);
itc.item_style = "default";
itc.func.text_get = item_text_get;
itc.func.content_get = item_icon_get;