From 35852954fd10a294b238472c64c791bb9b6dbebf Mon Sep 17 00:00:00 2001 From: Jeonghyun Yun Date: Mon, 21 Feb 2011 20:45:14 +0900 Subject: [PATCH] nbeat gengrid default style added --- themes/groups/gengrid.edc | 48 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/themes/groups/gengrid.edc b/themes/groups/gengrid.edc index c714de1..7116a7d 100644 --- a/themes/groups/gengrid.edc +++ b/themes/groups/gengrid.edc @@ -40,31 +40,55 @@ group { } } - part { - name: "elm.swallow.icon"; - type: SWALLOW; + part { + name: "left_top_padding"; + type: RECT; description { state: "default" 0.0; + min: 8 15; + align: 0.0 0.0; + color: 0 0 0 0; rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.0; to: "bottom_gap"; } + rel2 { relative: 0.0 0.0; to: "bg"; } + } + } + + part { + name: "right_padding"; + type: RECT; + description { + state: "default" 0.0; + min: 7 0; + color: 0 0 0 0; + align: 1.0 1.0; + rel1 { relative: 1.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } } } part { - name: "bottom_gap"; + name: "area_bg"; type: RECT; - description { + description { state: "default" 0.0; - min: 0 10; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "bg"; } - rel2 { relative: 1.0 1.0; to: "bg"; } + color: 239 239 239 255; + align: 0.5 0.5; + rel1 { relative: 1.0 1.0; to_x: "left_top_padding"; to_y: "left_top_padding";} + rel2 { relative: 0.0 0.0; to_x: "right_padding"; to_y: "right_padding";} } } part { + name: "elm.swallow.icon"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; offset: 1 1; to: "area_bg"; } + rel2 { relative: 1.0 1.0; offset: -2 -2; to: "area_bg"; } + } + } + + part { name: "elm.swallow.end"; type: SWALLOW; description { -- 2.7.4