[label] Removed unnecessary parts.
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Tue, 31 Jul 2012 05:02:46 +0000 (14:02 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Tue, 31 Jul 2012 05:02:46 +0000 (14:02 +0900)
themes/widgets/label.edc

index b255ac1..5a4ce5b 100644 (file)
@@ -46,29 +46,16 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
          data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-               }
-            }
             part { name: "label.text.clip";
                type: RECT;
                description { state: "default" 0.0;
-                  visible: 1;
-                  color: 255 255 255 255;
-                  rel1 { relative: 0 0; to: "label.swallow.background"; }
-                  rel2 { relative: 1 1; to: "label.swallow.background"; }
                }
             }
             part { name: "elm.text";
                type: TEXTBLOCK;
-               mouse_events: 0;
                scale: 1;
                clip_to: "label.text.clip";
                description { state: "default" 0.0;
-                  rel1.relative: 0.0 0.0;
-                  rel2.relative: 1.0 1.0;
                   text {
                      style: "textblock_style";
                      min: 0 1;
@@ -85,14 +72,6 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
          data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-                  rel1 { relative: 0 0; to: "elm.text"; }
-                  rel2 { relative: 1 1; to: "elm.text"; }
-               }
-            }
             part { name: "elm.text";
                type: TEXTBLOCK;
                mouse_events: 1;
@@ -136,14 +115,6 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
          data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-               visible: 1;
-                  rel1 { relative: 0 0; to: "elm.text"; }
-                  rel2 { relative: 1 1; to: "elm.text"; }
-               }
-            }
             part { name: "elm.text";
                type: TEXTBLOCK;
                mouse_events: 0;
@@ -202,14 +173,6 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
             }
          }
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-                  rel1 { relative: 0 0; to: "elm.text"; }
-                  rel2 { relative: 1 1; to: "elm.text"; }
-               }
-            }
             part { name: "elm.text";
                type: TEXTBLOCK;
                mouse_events: 0;
@@ -231,14 +194,6 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
          data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-                  rel1 { relative: 0 0; to: "elm.text"; }
-                  rel2 { relative: 1 1; to: "elm.text"; }
-               }
-            }
             part { name: "elm.text";
                type: TEXTBLOCK;
                mouse_events: 0;
@@ -379,19 +334,9 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          }
 
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-               }
-            }
             part { name: "label.text.clip";
                type: RECT;
                description { state: "default" 0.0;
-                  visible: 1;
-                  color: 255 255 255 255;
-                  rel1 { relative: 0 0; to: "label.swallow.background"; }
-                  rel2 { relative: 1 1; to: "label.swallow.background"; }
                }
             }
             part { name: "elm.text";
@@ -504,19 +449,9 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          }
 
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-               }
-            }
             part { name: "label.text.clip";
                type: RECT;
                description { state: "default" 0.0;
-                  visible: 1;
-                  color: 255 255 255 255;
-                  rel1 { relative: 0 0; to: "label.swallow.background"; }
-                  rel2 { relative: 1 1; to: "label.swallow.background"; }
                }
             }
             part { name: "elm.text";
@@ -640,19 +575,9 @@ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_B
          }
 
          parts {
-            part { name: "label.swallow.background";
-               type: SWALLOW;
-               description { state: "default" 0.0;
-                  visible: 1;
-               }
-            }
             part { name: "label.text.clip";
                type: RECT;
                description { state: "default" 0.0;
-                  visible: 1;
-                  color: 255 255 255 255;
-                  rel1 { relative: 0 0; to: "label.swallow.background"; }
-                  rel2 { relative: 1 1; to: "label.swallow.background"; }
                }
             }
             part { name: "elm.text";