[elm_colorselector]: landscape style added.
authorshilpa singh <shilpa.singh@samsung.com>
Sat, 10 Mar 2012 13:21:30 +0000 (18:51 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Sat, 10 Mar 2012 13:21:30 +0000 (18:51 +0530)
themes/widgets/colorselector.edc

index 04a900b..0627c8d 100644 (file)
@@ -78,6 +78,68 @@ group {
    }
 }
 
+group {
+   name: "elm/colorselector/palette/landscape";
+   data.item: "horizontal_pad" "36";
+   data.item: "vertical_pad" "0";
+   parts {
+      part { name: "base";
+         type: RECT;
+         scale: 1;
+         mouse_events: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            align: 0.0 0.0;
+         }
+      }
+      part { name: "palette";
+         type: SWALLOW;
+         scale: 1;
+         mouse_events: 1;
+         description { state: "default" 0.0;
+            align: 0.0 0.0;
+            rel1 {
+               relative: 0.0 0.0;
+               to: "base";
+            }
+            rel2 {
+               relative: 1.0 0.0;
+               to: "base";
+            }
+         }
+      }
+      part{ name: "bottom_padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            min: 0 20;
+            fixed: 0 1;
+            rel1.relative: 0.0 1.0;
+            rel1.to: "palette";
+            rel2.to: "palette";
+            align: 0.0 0.0;
+         }
+      }
+      part { name: "selector";
+         type: SWALLOW;
+         scale: 1;
+         mouse_events: 1;
+         description { state: "default" 0.0;
+            align: 0.0 1.0;
+            rel1 {
+               relative: 0.0 1.0;
+               to: "bottom_padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to: "base";
+            }
+         }
+      }
+   }
+}
+
 group{
    name: "elm/colorselector/bg/default";
    parts{