rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=268901ebf6af67063b004f8bcdc2231612283112
commit 268901ebf6af67063b004f8bcdc2231612283112 Author: Vitalii Vorobiov <[email protected]> Date: Mon Jun 6 12:35:19 2016 +0300 groupview_calc: do not rewrite previous x and y of edit_object because in addition to part x, y we need to shift object area x, y so it will by on a right place Fixes T3552 --- src/bin/ui/workspace/groupview_calc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/ui/workspace/groupview_calc.c b/src/bin/ui/workspace/groupview_calc.c index 1aabcae..1538787 100644 --- a/src/bin/ui/workspace/groupview_calc.c +++ b/src/bin/ui/workspace/groupview_calc.c @@ -954,6 +954,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); + xc += xg; } x = (xc + (int)(wc * relative)) + offset; edje_edit_string_free(rel_to); @@ -967,6 +968,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); + yc += yg; } y = (yc + (int)(hc * relative)) + offset; edje_edit_string_free(rel_to); @@ -979,6 +981,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); + xc += xg; } w = ((xc - x) + (int)(wc * relative)) + offset + 1; if (w < 0) { x += w; w = 0; } @@ -992,6 +995,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); + yc += yg; } h = ((yc - y) + (int)(hc * relative)) + offset + 1; if (h < 0) { y += h; h = 0; } --
