Page 1 of 1

Problem with setting position for reference panels which were added via addSymbol function

Posted: Fri Aug 17, 2018 4:59 pm
by vadim
Hi, collegues!
I have problem with setting position property for reference panels which were added via addSymbol function. I'm setting X property same for all,but first panel always located more to the left of others.
This problem fires just in WinCC OA 3.15 (P012), in 3.14 all works correct.

Code: Select all

for (int y = 10; y

Re: Problem with setting position for reference panels which were added via addSymbol function

Posted: Fri Aug 17, 2018 10:27 pm
by mkoller
I can reproduce the problem. It's a bug where in the case when the panel refs are cached, the internal reference point was not reset to (0, 0) and was kept at (-1, -1) which leads to all but the first non-cached panelRef being 1 pixel wrong in each direction.

Re: Problem with setting position for reference panels which were added via addSymbol function

Posted: Mon Aug 20, 2018 7:11 am
by vadim
Thanks for reply.
Will it be fixed in 3.15 or I need handle it in code?

Re: Problem with setting position for reference panels which were added via addSymbol function

Posted: Mon Aug 20, 2018 11:19 am
by Andorhal
Hello.
We plan to bring the fix to 3.15/3.16/3.17.
BR Robert