[Genlist] Added "1icon/with_no_line" style.
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 24 Nov 2011 09:11:48 +0000 (18:11 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 28 Nov 2011 04:51:42 +0000 (13:51 +0900)
Implementation Detail: Removed bottom line from "1icon" group and
renamed it to "1icon/with_no_line".
Added new "1icon" group and inherited "1icon/with_no_line" and added
bottom line there.

Change-Id: I8551d9c3c629a258113aa5d18a65267b3bb6e3ea

themes/groups/genlist/genlist_normal.edc

index 66f1570..b17a940 100644 (file)
       }
    }
 
-   group { name: "elm/genlist/item/1icon/default";
-      alias: "elm/genlist/item_odd/1icon/default";
-      alias: "elm/genlist/item_compress/1icon/default";
-      alias: "elm/genlist/item_compress_odd/1icon/default";
+   group { name: "elm/genlist/item/1icon/with_no_line/default";
+      alias: "elm/genlist/item_odd/1icon/with_no_line/default";
+      alias: "elm/genlist/item_compress/1icon/with_no_line/default";
+      alias: "elm/genlist/item_compress_odd/1icon/with_no_line/default";
       data.item: "stacking" "above";
       data.item: "selectraise" "on";
       data.item: "icons" "elm.icon";
          }
          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC )
          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC )
-         GENLIST_PART_BOTTOM_LINE
          part { name: "elm.icon";
             clip_to: "disclip";
             type: SWALLOW;
       }
    }
 
+   group { name: "elm/genlist/item/1icon/default";
+      alias: "elm/genlist/item_odd/1icon/default";
+      alias: "elm/genlist/item_compress/1icon/default";
+      alias: "elm/genlist/item_compress_odd/1icon/default";
+      inherit: "elm/genlist/item/1icon/with_no_line/default";
+      parts {
+         part { name: "bottom_line";
+            insert_after: "elm.padding.right";
+            type: RECT;
+            mouse_events: 0;
+            description { state: "default" 0.0;
+               min: 0 1;
+               fixed: 0 1;
+               visible: 1;
+               color: GENLIST_PART_BOTTOM_LINE_INC;
+               rel1 {
+                  relative: 0.0 1.0;
+                  offset: 0 -1;
+               }
+            }
+         }
+      }
+   }
+
    group { name: "elm/genlist/item/1text/default";
       alias: "elm/genlist/item_odd/1text/default";
       alias: "elm/genlist/item_compress/1text/default";