add identical code for "elm/toolbar/item/item_horizontal" group to actively maintaine...
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Sep 2011 07:36:09 +0000 (07:36 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Sep 2011 07:36:09 +0000 (07:36 +0000)
this showcases new group inheritance from edje!

...it also throws a non-fixed part error

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63655 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/widgets/toolbar.edc

index a813b0a..0dbe173 100644 (file)
@@ -566,6 +566,30 @@ group { name: "elm/toolbar/item/default";
    }
 }
 
+group { name: "elm/toolbar/item/item_horizontal";
+    inherit: "elm/toolbar/item/default";
+    parts.part { name: "elm.swallow.icon";
+            description { state: "default" 0.0;
+                align: 0.0 0.5;
+                rel1.offset: 3 3;
+                rel1.relative: 0 0;
+                rel2.offset: -4 -4;
+                rel2.relative: 1 1;
+                color: 0 0 0 0;
+            }
+        }
+    parts.part { name: "elm.text";
+            description { state: "default" 0.0;
+               align: 1 0.5;
+               min: 0 1;
+               rel1.offset: 1 0;
+               rel1.relative: 1 0.5;
+               rel1.to_x: "elm.swallow.icon";
+               text.align: 0 0.5;
+            }
+        }
+}
+
 group { name: "elm/toolbar/separator/default";
    images {
       image: "toolbar_separator_v.png" COMP;