Fixed the ctxpopup edc for dismiss event 04/47104/1
authorHyojung Jo <hj903.jo@samsung.com>
Mon, 31 Aug 2015 01:46:54 +0000 (10:46 +0900)
committerHyojung Jo <hj903.jo@samsung.com>
Mon, 31 Aug 2015 01:46:54 +0000 (10:46 +0900)
Change-Id: I62f93b151e5e12c18701f6e2e67db08170947fe0
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
res/widget/ctxpopup.edc

index aeef58d..c3b4517 100644 (file)
@@ -20,10 +20,10 @@ group {
                        description {
                                state, "default" 0.0;
                                color, 154 154 154 255;
-                               min, 220 1;
-                               rel2.relative, 0.0 0.0;
-                               align, 0.0 0.0;
-                               fixed, 1 1;
+                               min, 0 1;
+                               rel2.relative, 1.0 0.0;
+                               align, 0.5 0.0;
+                               fixed, 0 1;
                        }
                }
 
@@ -34,25 +34,14 @@ group {
                        description {
                                state, "default" 0.0;
                                color, 154 154 154 255;
-                               min, 1 170;
-                               rel2.relative, 0.0 0.0;
-                               align, 0.0 0.0;
-                               fixed, 1 1;
-                       }
-               }
-
-               part {
-                       name, "part.inside.line.down";
-                       type, RECT;
-                       scale, 1;
-                       description {
-                               state, "default" 0.0;
-                               color, 154 154 154 255;
-                               min, 220 1;
-                               rel1.relative, 0.0 1.0;
+                               min, 1 0;
+                               rel1 {
+                                       to, "part.inside.line.up";
+                                       relative, 0.0 1.0;
+                               }
                                rel2.relative, 0.0 1.0;
-                               align, 0.0 1.0;
-                               fixed, 1 1;
+                               align, 0.0 0.5;
+                               fixed, 1 0;
                        }
                }
 
@@ -63,24 +52,34 @@ group {
                        description {
                                state, "default" 0.0;
                                color, 154 154 154 255;
-                               min, 1 170;
-                               rel1.relative, 1.0 0.0;
-                               rel2.relative, 1.0 0.0;
-                               align, 1.0 0.0;
-                               fixed, 1 1;
+                               min, 1 0;
+                               rel1 {
+                                       to, "part.inside.line.up";
+                                       relative, 1.0 1.0;
+                               }
+                               align, 1.0 0.5;
+                               fixed, 1 0;
                        }
                }
 
                part {
-                       name, "padding.elm.swallow.content";
-                       type, SPACER;
+                       name, "part.inside.line.down";
+                       type, RECT;
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               min, 1 1;
-                               rel2.relative, 0.0 0.0;
-                               align, 0.0 0.0;
-                               fixed, 1 1;
+                               color, 154 154 154 255;
+                               min, 0 1;
+                               rel1 {
+                                       to, "part.inside.line.left";
+                                       relative, 1.0 1.0;
+                               }
+                               rel2 {
+                                       to, "part.inside.line.right";
+                                       relative, 0.0 1.0;
+                               }
+                               align, 0.5 1.0;
+                               fixed, 0 1;
                        }
                }
 
@@ -90,15 +89,24 @@ group {
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               min, 218 168;
                                rel1 {
-                                       to, "padding.elm.swallow.content";
-                                       relative, 1.0 1.0;
+                                       to, "part.inside.line.left";
+                                       relative, 1.0 0.0;
+                               }
+                               rel2 {
+                                       to, "part.inside.line.down";
+                                       relative, 1.0 0.0;
                                }
-                               rel2.to, "padding.elm.swallow.content";
-                               align, 0.0 0.0;
-                               fixed, 1 1;
                        }
                }
        }
+
+       programs {
+               program {
+                       name, "hide";
+                       signal, "elm,state,hide";
+                       source, "elm";
+                       action, SIGNAL_EMIT "elm,action,hide,finished" "elm";
+               }
+       }
 }