diff options
author | Stephen okra Houston <smhouston88@gmail.com> | 2016-08-26 10:05:20 -0500 |
---|---|---|
committer | Stephen okra Houston <smhouston88@gmail.com> | 2016-08-26 10:05:20 -0500 |
commit | 19cf910321fa8983ae217295f83be7ce2f464ca3 (patch) | |
tree | a4069e522bf284dfc56db983191662aa94e48bba /data | |
parent | 8c3efbd174a1bbeb26a0b25c39b4d2c2768e70ff (diff) | |
download | efl-19cf910321fa8983ae217295f83be7ce2f464ca3.tar.gz |
Elementary Theme: Add "indent" genlist item style. This style allows non tree items to match tree items.
Diffstat (limited to 'data')
-rw-r--r-- | data/elementary/themes/edc/elm/genlist.edc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/elm/genlist.edc b/data/elementary/themes/edc/elm/genlist.edc index 288440ae1a..f51a11126a 100644 --- a/data/elementary/themes/edc/elm/genlist.edc +++ b/data/elementary/themes/edc/elm/genlist.edc @@ -381,6 +381,26 @@ group { "genlist_top"; inherit_only: 1; nomouse; program_source: "elm"; } } +group { "genlist_noarrow"; inherit_only: 1; program_source: "elm"; + parts { + rect { "arrow"; mouse; + desc { "default"; + fixed: 1 0; + min: 15 15; + aspect: 1.0 1.0; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -2 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -2 -3; + color: 0 0 0 0; + } + } + } +} + group { "elm/genlist/item/default/default"; nomouse; data.item: "selectraise" "on"; data.item: "focusraise" "on"; @@ -779,6 +799,31 @@ ODD("elm/genlist/item_odd/default_style/default", "elm/genlist/item/default_styl COMPRESS("elm/genlist/item_compress/default_style/default", "elm/genlist/item/default_style/default") COMPRESS_ODD("elm/genlist/item_compress_odd/default_style/default", "elm/genlist/item/default_style/default") +group { "elm/genlist/item/indent/default"; nomouse; + inherit: "elm/genlist/item/default/default"; + parts { + swallow { "elm.swallow.icon"; + desc { "default"; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + desc { "flip_enabled"; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + } + } + inherit: "genlist_noarrow"; +} + +ODD("elm/genlist/item_odd/indent/default", "elm/genlist/item/indent/default") +COMPRESS("elm/genlist/item_compress/indent/default", "elm/genlist/item/indent/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/indent/default", "elm/genlist/item/indent/default") + group { "elm/genlist/item/one_icon/default"; nomouse; data.item: "selectraise" "on"; data.item: "focusraise" "on"; |