Fix WIFI_NAME position in genlist 93/54693/1
authorJiwan Kim <ji-wan.kim@samsung.com>
Mon, 14 Dec 2015 09:56:19 +0000 (18:56 +0900)
committerJiwan Kim <ji-wan.kim@samsung.com>
Thu, 17 Dec 2015 07:48:32 +0000 (16:48 +0900)
 - WIFI_NAME was mis-positioned when cursor is moved

Change-Id: I234346afe91b0000caabbfd4f02d190dcfa67748

res/widget/gengrid.edc

index 949c866..1febeab 100644 (file)
@@ -18,6 +18,7 @@
 #define STATE_LOCKED 1
 #define STATE_CHECKED 2
 
+
 group {
        name, "elm/gengrid/item/style.grid.wireless/default";
        data.item, "focus_highlight" "on";
@@ -56,10 +57,33 @@ group {
                        scale, 1;
                        description {
                                state, "default" 0.0;
-                               rel1.relative, 1.0 1.0;
                                min, 26 26;
                                align, 1.0 1.0;
                                fixed, 1 1;
+                               rel1 {
+                                       relative: 1.0 1.0;
+                                       offset: 0 26;
+                                       to: "map";
+                               }
+                               rel2 {
+                                       to: "map";
+                               }
+                       }
+                       description {
+                               state, "focused.locked" 0.0;
+                               inherit, "default" 0.0;
+                       }
+                       description {
+                               state, "focused.unlocked" 0.0;
+                               inherit, "default" 0.0;
+                       }
+                       description {
+                               state, "unfocused.locked" 0.0;
+                               inherit, "default" 0.0;
+                       }
+                       description {
+                               state, "unfocused.unlocked" 0.0;
+                               inherit, "default" 0.0;
                        }
                }
 
@@ -88,6 +112,9 @@ group {
                        scale, 1;
                        description {
                                state, "default" 0.0;
+                               rel1 {
+                                       to: "map";
+                               }
                                rel2 {
                                        to, "padding.bottom.right";
                                        relative, 0.0 0.0;
@@ -234,6 +261,11 @@ group {
                                map.on, 1;
                        }
                        description {
+                               state, "unfocused" 0.0;
+                               inherit, "default" 0.0;
+                               map.on, 1;
+                       }
+                       description {
                                state, "selected" 0.0;
                                inherit, "focused" 0.0;
                        }
@@ -473,7 +505,7 @@ group {
                                else
                                        set_state(PART:"part.check.icon", "unfocused.unchecked", 0.0);
 
-                               set_state(PART:PART_WIFI_NAME, "default", 0.0);
+                               set_state(PART:PART_WIFI_NAME, "unfocused", 0.0);
                                set_state(PART:"part.bg", "default", 0.0);
                        }
                }