[Genlist] Change button and group image by GUI 1.0
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_custom.edc
1 /*
2  * Build:
3  * edje_cc  -id ../../images/tizen-hd/ -sd ../../sounds/ genlist_custom.edc
4  */
5 collections {
6    #include "../../inc/tizen-hd-inc.edc"
7    #include "genlist_macro.edc"
8    #include "genlist_normal.edc" // if u want group inherting from normal styles.
9    #include "genlist_textblock_style.edc"
10    group { GENLIST_NAME("custom_test/default")
11       GENLIST_PROLOG_NORMAL
12       data.item: "texts" "elm.text";
13       data.item: "contents" "elm.icon";
14
15       parts {
16          GENLIST_PART_BASE
17          GENLIST_PART_BG_NORMAL
18          GENLIST_PART_BOTTOM_LINE
19          GENLIST_PART_PADDING_LEFT
20          GENLIST_PART_PADDING_RIGHT
21          GENLIST_PART_PADDING_TOP
22          GENLIST_PART_PADDING_BOTTOM
23
24          GENLIST_PART_ICON("elm.icon",
25             GENLIST_DESCRIPTION_LTB("elm.padding.left", "elm.padding.top", "elm.padding.bottom",
26                fixed: 1 0;
27                min: 50 50;
28             )
29          )
30          GENLIST_PART_LISTITEM_("elm.text", GENLIST_HEIGHT_1LINE,
31             "elm.icon", "elm.padding.right",
32             "elm.padding.top", "elm.padding.bottom",
33          )
34          GENLIST_PART_FLIP
35       }
36       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
37    }
38 }