okra pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=19cf910321fa8983ae217295f83be7ce2f464ca3

commit 19cf910321fa8983ae217295f83be7ce2f464ca3
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Fri Aug 26 10:05:20 2016 -0500

    Elementary Theme: Add  "indent" genlist item style.  This style allows non 
tree items to match tree items.
---
 data/elementary/themes/edc/elm/genlist.edc | 45 ++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/data/elementary/themes/edc/elm/genlist.edc 
b/data/elementary/themes/edc/elm/genlist.edc
index 288440a..f51a111 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";

-- 


Reply via email to