Added wrapping subtext for menu button. 40/89940/2
authorPiotr Pruski <p.pruski@samsung.com>
Tue, 27 Sep 2016 14:09:38 +0000 (16:09 +0200)
committerPiotr Pruski <p.pruski@samsung.com>
Tue, 27 Sep 2016 14:11:22 +0000 (16:11 +0200)
Change-Id: I2575b57445ec5270ebb327c0552b006890d449be
Signed-off-by: Piotr Pruski <p.pruski@samsung.com>
res/widget/button.edc

index 3f8d457..6179eb7 100644 (file)
@@ -656,6 +656,13 @@ group {
 group {
        name, "elm/button/base/style.status.button";
        inherit, "elm/button/base/style.normal.button";
+       styles {
+               style {
+                       name, "style.subtext2";
+                       base, "font=BreezeSans:style=Light font_size=40 color=#595959 wrap=word align=center";
+                       tag, "br" "\n";
+               }
+       }
        parts {
                part {
                        name, "elm.text";
@@ -678,7 +685,7 @@ group {
                }
                part {
                        name, PART_MENU_VALUE;
-                       type, TEXT;
+                       type, TEXTBLOCK;
                        repeat_events, 1;
                        scale, 1;
                        description {
@@ -690,11 +697,9 @@ group {
                                rel2.to, "bg.content";
 
                                text {
-                                       font, FONT_LIGHT;
-                                       size, 40;
                                        align, 0.5 0.0;
+                                       style, style.subtext2;
                                }
-                               color, COLOR_TEXT_VALUE;
                        }
                        description {
                                state, "focused" 0.0;