rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=648e4fa11837a9a507265f134e95d5d73ecaafc0

commit 648e4fa11837a9a507265f134e95d5d73ecaafc0
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Apr 6 14:46:52 2016 +0300

    groupview: fix the object area calculation
    
    Need add 1 (one) to object area size for compensate re2.offset
    
    Change-Id: I67360add66850e88e73085ff9c93a34ac59873eb
---
 src/bin/ui/workspace/groupview_calc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/workspace/groupview_calc.c 
b/src/bin/ui/workspace/groupview_calc.c
index a75d552..c7801b2 100644
--- a/src/bin/ui/workspace/groupview_calc.c
+++ b/src/bin/ui/workspace/groupview_calc.c
@@ -980,7 +980,7 @@ _part_object_area_calc(Groupview_Smart_Data *sd, 
Groupview_Part *gp)
         rel_part = _parts_list_find(sd->parts, rel_to);
         edje_object_part_geometry_get(sd->group->edit_object, 
rel_part->part->name, &xc, NULL, &wc, NULL);
      }
-   w = ((xc - x) + (int)(wc * relative)) + offset;
+   w = ((xc - x) + (int)(wc * relative)) + offset + 1;
    if (w < 0) { x += w; w = 0; }
    edje_edit_string_free(rel_to);
 
@@ -993,7 +993,7 @@ _part_object_area_calc(Groupview_Smart_Data *sd, 
Groupview_Part *gp)
         rel_part = _parts_list_find(sd->parts, rel_to);
         edje_object_part_geometry_get(sd->group->edit_object, 
rel_part->part->name, NULL, &yc, NULL, &hc);
      }
-   h = ((yc - y) + (int)(hc * relative)) + offset;
+   h = ((yc - y) + (int)(hc * relative)) + offset + 1;
    if (h < 0) { y += h; h = 0; }
    edje_edit_string_free(rel_to);
 

-- 


Reply via email to