summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen okra Houston <smhouston88@gmail.com>2016-08-26 10:05:20 -0500
committerStephen okra Houston <smhouston88@gmail.com>2016-08-26 10:05:20 -0500
commit19cf910321fa8983ae217295f83be7ce2f464ca3 (patch)
treea4069e522bf284dfc56db983191662aa94e48bba
parent8c3efbd174a1bbeb26a0b25c39b4d2c2768e70ff (diff)
Elementary Theme: Add "indent" genlist item style. This style allows non tree items to match tree items.
-rw-r--r--data/elementary/themes/edc/elm/genlist.edc45
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";
381 } 381 }
382} 382}
383 383
384group { "genlist_noarrow"; inherit_only: 1; program_source: "elm";
385 parts {
386 rect { "arrow"; mouse;
387 desc { "default";
388 fixed: 1 0;
389 min: 15 15;
390 aspect: 1.0 1.0;
391 align: 0.0 0.5;
392 rel1.to_x: "elm.swallow.pad";
393 rel1.relative: 1.0 0.0;
394 rel1.offset: -2 2;
395 rel2.to_x: "elm.swallow.pad";
396 rel2.relative: 1.0 1.0;
397 rel2.offset: -2 -3;
398 color: 0 0 0 0;
399 }
400 }
401 }
402}
403
384group { "elm/genlist/item/default/default"; nomouse; 404group { "elm/genlist/item/default/default"; nomouse;
385 data.item: "selectraise" "on"; 405 data.item: "selectraise" "on";
386 data.item: "focusraise" "on"; 406 data.item: "focusraise" "on";
@@ -779,6 +799,31 @@ ODD("elm/genlist/item_odd/default_style/default", "elm/genlist/item/default_styl
779COMPRESS("elm/genlist/item_compress/default_style/default", "elm/genlist/item/default_style/default") 799COMPRESS("elm/genlist/item_compress/default_style/default", "elm/genlist/item/default_style/default")
780COMPRESS_ODD("elm/genlist/item_compress_odd/default_style/default", "elm/genlist/item/default_style/default") 800COMPRESS_ODD("elm/genlist/item_compress_odd/default_style/default", "elm/genlist/item/default_style/default")
781 801
802group { "elm/genlist/item/indent/default"; nomouse;
803 inherit: "elm/genlist/item/default/default";
804 parts {
805 swallow { "elm.swallow.icon";
806 desc { "default";
807 rel1.to_x: "arrow";
808 rel1.offset: 1 2;
809 rel2.to_x: "arrow";
810 rel2.offset: 1 -3;
811 }
812 desc { "flip_enabled";
813 rel1.to_x: "arrow";
814 rel1.offset: 1 2;
815 rel2.to_x: "arrow";
816 rel2.offset: 1 -3;
817 }
818 }
819 }
820 inherit: "genlist_noarrow";
821}
822
823ODD("elm/genlist/item_odd/indent/default", "elm/genlist/item/indent/default")
824COMPRESS("elm/genlist/item_compress/indent/default", "elm/genlist/item/indent/default")
825COMPRESS_ODD("elm/genlist/item_compress_odd/indent/default", "elm/genlist/item/indent/default")
826
782group { "elm/genlist/item/one_icon/default"; nomouse; 827group { "elm/genlist/item/one_icon/default"; nomouse;
783 data.item: "selectraise" "on"; 828 data.item: "selectraise" "on";
784 data.item: "focusraise" "on"; 829 data.item: "focusraise" "on";