[layout] add a theme for new fastscroll UX
authorJaeun Choi <jaeun12.choi@samsung.com>
Thu, 23 May 2013 09:15:58 +0000 (18:15 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:28:12 +0000 (20:28 +0900)
Change-Id: I5347676722c98424ea0b1d43280fd4bc39977134

themes/widgets/layout.edc

index 84d901f..0ad41eb 100644 (file)
       }
    }
 
+   /************************************************************/
+   /* elm_layout -> fundamental template style with fastscroll */
+   /************************************************************/
+   group { name: "elm/layout/application/fastscroll";
+      parts {
+         part {
+            name: "bg";
+            type: RECT;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               color: 0 0 0 0;
+            }
+         }
+         part {
+            name: "right.padding";
+            type: RECT;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               rel1.relative: 1.0 0.0;
+               align: 1.0 0.5;
+               min: INDEX_ITEM_WIDTH_INC 0;
+               visible: 0;
+            }
+         }
+         part {
+            name: "elm.swallow.content";
+            type: SWALLOW;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+               rel2 {
+                  to: "right.padding";
+                  relative: 0.0 1.0;
+               }
+            }
+         }
+         part {
+            name: "elm.swallow.fastscroll";
+            type: SWALLOW;
+            scale: 1;
+            description {
+               state: "default" 0.0;
+            }
+         }
+      }
+   }
 group { name: "elm/layout/editfield/default";
    images {
       image: "00_edit_field_clear.png" COMP;