discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=08204fa4763fb504ed3eb8de5cdb6727dcb88f72

commit 08204fa4763fb504ed3eb8de5cdb6727dcb88f72
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Mar 16 12:12:58 2016 -0400

    label: add themes for left and right aligned text
    
    @feature
---
 data/themes/edc/elm/label.edc | 80 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/data/themes/edc/elm/label.edc b/data/themes/edc/elm/label.edc
index e684e0c..b1e273b 100644
--- a/data/themes/edc/elm/label.edc
+++ b/data/themes/edc/elm/label.edc
@@ -32,6 +32,40 @@ group { name: "elm/label/base/default";
    }
 }
 
+group { name: "elm/label/base/default/left";
+   inherit: "elm/label/base/default";
+   styles {
+      style { name: "label_style_left";
+         base: "font="FN" font_size=10 text_class=tb_plain align=left 
color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+         tag: "br" "\n";
+         tag: "b" "+ font="FNBD" text_class=tb_light";
+         ENABLED_TEXTBLOCK_TAGS
+      }
+   }
+   parts {
+      textblock { "elm.text";
+         desc { "default"; text.style: "label_style_left"; }
+      }
+   }
+}
+
+group { name: "elm/label/base/default/right";
+   inherit: "elm/label/base/default";
+   styles {
+      style { name: "label_style_right";
+         base: "font="FN" font_size=10 text_class=tb_plain align=right 
color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+         tag: "br" "\n";
+         tag: "b" "+ font="FNBD" text_class=tb_light";
+         ENABLED_TEXTBLOCK_TAGS
+      }
+   }
+   parts {
+      textblock { "elm.text";
+         desc { "default"; text.style: "label_style_right"; }
+      }
+   }
+}
+
 group { name: "elm/label/base/marker";
    inherit: "elm/label/base/default";
    styles {
@@ -55,6 +89,52 @@ group { name: "elm/label/base/marker";
    }
 }
 
+group { "elm/label/base/marker/left";
+   inherit: "elm/label/base/default";
+   styles {
+      style { name: "label_style3";
+         base: "font="FNBD" font_size=10 text_class=tb_plain align=left 
color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+         tag: "br" "\n";
+         tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
+         tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
+      }
+   }
+   parts {
+      part { name: "elm.text"; type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            text { style: "label_style3";
+               min: 1 1;
+               ellipsis: -1;
+            }
+         }
+      }
+   }
+}
+
+group { "elm/label/base/marker/right";
+   inherit: "elm/label/base/default";
+   styles {
+      style { name: "label_style4";
+         base: "font="FNBD" font_size=10 text_class=tb_plain align=right 
color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+         tag: "br" "\n";
+         tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
+         tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
+      }
+   }
+   parts {
+      part { name: "elm.text"; type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            text { style: "label_style4";
+               min: 1 1;
+               ellipsis: -1;
+            }
+         }
+      }
+   }
+}
+
 group { name: "elm/label/base/slide_long";
    inherit: "elm/label/base/default";
    script {

-- 


Reply via email to