Add the "item_horizontal" style in button.edc
authorjaehwan <jaehwan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Feb 2012 09:17:32 +0000 (09:17 +0000)
committerjaehwan <jaehwan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Feb 2012 09:17:32 +0000 (09:17 +0000)
It's for toolbar item.

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

data/themes/widgets/button.edc

index 642f669..c018669 100644 (file)
@@ -2099,3 +2099,91 @@ group { name: "elm/button/base/toolbar/default";
    }
 }
 
+group { name: "elm/button/base/toolbar/item_horizontal";
+   inherit: "elm/button/base/toolbar/default";
+   parts {
+      part { name: "elm.swallow.content";
+         description { state: "default" 0.0;
+            fixed: 1 1;
+            aspect: 1 1;
+            aspect_preference: VERTICAL;
+            align: 0.0 0.5;
+            rel1.offset: 3 3;
+            rel1.relative: 0 0;
+            rel2.offset: 3 -4;
+            rel2.relative: 0 1;
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "elm.swallow.content_new";
+         description { state: "default" 0.0;
+            fixed: 1 1;
+         }
+      }
+      part { name: "elm.text";
+         description { state: "default" 0.0;
+            align: 1 0.5;
+            min: 0 1;
+            rel1.offset: 1 0;
+            rel1.relative: 1.0 0.0;
+            rel1.to_x: "elm.swallow.content";
+            rel2.relative: 1.0 1.0;
+            text.align: 0 0.5;
+         }
+         description { state: "selected" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+         }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+            text.min: 1 1;
+         }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 128;
+            color3: 0 0 0 0;
+         }
+         description { state: "disabled_visible" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 128;
+            color3: 0 0 0 0;
+            visible: 1;
+            text.min: 1 1;
+         }
+      }
+      part { name: "elm.text_new";
+         description { state: "default" 0.0;
+            align: 1 0.5;
+            min: 0 1;
+            rel1.offset: 1 0;
+            rel1.relative: 1.0 0.0;
+            rel1.to_x: "elm.swallow.content";
+            rel2.relative: 1.0 1.0;
+            text.align: 0 0.5;
+         }
+         description { state: "selected" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+         }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+            text.min: 1 1;
+         }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 128;
+            color3: 0 0 0 0;
+         }
+         description { state: "disabled_visible" 0.0;
+            inherit: "default" 0.0;
+            color: 0 0 0 128;
+            color3: 0 0 0 0;
+            visible: 1;
+            text.min: 1 1;
+         }
+      }
+   }
+}
+