[Magnifier] Fix issue with scale != 1
authorThiep Ha <thiep.ha@samsung.com>
Thu, 2 May 2013 04:57:03 +0000 (13:57 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 2 May 2013 13:42:54 +0000 (22:42 +0900)
Change-Id: I1a23b458b7d55952316a147d44964905b7ab500b

themes/widgets/entry.edc

index ae95292..dd53080 100644 (file)
@@ -2468,6 +2468,32 @@ group { name: "elm/entry/base-password/popup";
                                        color: 0 0 0 0;
                                }
                        }
+                       part { name: "bg_middle_left";
+                               mouse_events: 0;
+                               scale: 1;
+                               type: RECT;
+                               description { state: "default" 0.0;
+                                       min: 20 134;
+                                       max: 20 -1;
+                                       align: 1.0 0.0;
+                                       rel2 { relative: 0.5 1.0; to: "bg"; }
+                                       visible: 1;
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part { name: "bg_middle_right";
+                               mouse_events: 0;
+                               scale: 1;
+                               type: RECT;
+                               description { state: "default" 0.0;
+                                       min: 20 134;
+                                       max: 20 -1;
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 0.5 0.0; to: "bg"; }
+                                       visible: 1;
+                                       color: 0 0 0 0;
+                               }
+                       }
                        part { name: "bg_left";
                                mouse_events: 0;
                                scale: 1;
@@ -2476,7 +2502,7 @@ group { name: "elm/entry/base-password/popup";
                                        min: 136 134;
                                        align: 0.0 0.0;
                                        rel1 { relative: 0.0 0.0; to: "bg"; }
-                                       rel2 { relative: 0.5 1.0; to: "bg"; offset: -20 -1;}
+                                       rel2 { relative: 0.0 1.0; to: "bg_middle_left"; }
                                        image {
                                                normal: "copy&paste_Magnifier_left.png";
                                                border: 21 1 20 44;
@@ -2489,15 +2515,12 @@ group { name: "elm/entry/base-password/popup";
                                mouse_events: 0;
                                scale: 1;
                                description { state: "default" 0.0;
-                                       fixed: 1 1;
-                                       min: 40 134;
-                                       max: 40 999999;
                                        align: 0.0 0.0;
-                                       rel1 { relative: 1.0 0.0; to: "bg_left"; }
-                                       rel2 { relative: 0.0 1.0; to: "bg_right"; }
+                                       rel1 { relative: 0.0 0.0; to: "bg_middle_left"; }
+                                       rel2 { relative: 1.0 1.0; to: "bg_middle_right"; }
                                        image {
                                                normal: "copy&paste_Magnifier_middle.png";
-                                               border: 0 40 20 44;
+                                               border: 1 38 20 44;
                                        }
                                        image.middle: 1;
                                        fill.smooth: 0;
@@ -2509,7 +2532,7 @@ group { name: "elm/entry/base-password/popup";
                                description { state: "default" 0.0;
                                        fixed: 1 1;
                                        min: 136 134;
-                                       rel1 { relative: 0.5 0.0; to: "bg"; offset: 21 0;}
+                                       rel1 { relative: 1.0 0.0; to: "bg_middle_right"; }
                                        rel2.to: "bg";
                                        image {
                                                normal: "copy&paste_Magnifier_right.png";