[Button naviframe style] modified naviframe title style for multiline text
authorAmit Kamboj <amit.kamboj@samsung.com>
Fri, 4 May 2012 11:50:35 +0000 (17:20 +0530)
committerAmit Kamboj <amit.kamboj@samsung.com>
Fri, 4 May 2012 11:50:35 +0000 (17:20 +0530)
Change-Id: Id77ec09a1e7b0fa02b53be563d363f3fb27bcdca

themes/widgets/button.edc

index fc17950..2ae57e3 100644 (file)
@@ -9360,6 +9360,14 @@ group { name: "elm/button/base/searchbar/default";
       script {
          public button_state = BUTTON_STATE_ENABLED;
       }
+      styles{
+         style { name: "btn_naviframe_style";
+            base: "font=SLP:style=Medium font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipise=1.0";
+            tag: "br" "\n";
+            tag: "ps" "ps";
+            tag: "tab" "\t";
+         }
+      }
       parts {
          part { name: "button_image";
             type: RECT;
@@ -9534,7 +9542,7 @@ group { name: "elm/button/base/searchbar/default";
             }
          }
          part { name: "elm.text";
-            type: TEXT;
+            type: TEXTBLOCK;
             mouse_events: 0;
             scale: 1;
             clip_to: "clipper";
@@ -9551,10 +9559,9 @@ group { name: "elm/button/base/searchbar/default";
                }
                color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
                text {
-                  font: "SLP:style=Medium";
-                  size: BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC;
-                  min: 0 0;
-                  max: 1 0;
+                   style: "btn_naviframe_style";
+                   min: 0 0;
+                   max: 0 1;
                }
             }
             description { state: "visible" 0.0;