This is a migrated thread and some comments may be shown as answers.

ManipulationAdorner offset

2 Answers 75 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 17 Feb 2015, 09:29 AM
Hello,

for some reason, the manipulation adorner is offset relative to the shape after selecting a rotated shape (see attached image).
When selecting a shape with rotation angle = 0 and while rotating it, the adorner stays at the expected position.

What could be the cause for this behavior?

Alex

2 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Vandov
Telerik team
answered on 19 Feb 2015, 02:54 PM
Hello Alexander,

This issue could be caused if you have upgrated your binaries from Q2 2014 or below to our latest binaries and you are having a custom style targeting RadDiagramShape and it is not based on to the default one. With our previous version of binaries the RenderTransformOrigin property of the RadDiagramShape was set in the constructor to (0.5 0.5). However with our latest binaries that logic is placed inside the default RadDiagramShape Style and it is removed from the constructor. That is why if you have a custom style targeting the RadDiagramShape and it is not based on the default one the RenderTransformOrigin will be (0 0), setting that property to (0.5 0.5) will fix the issue.

if that is not the case, please give us a sample project in which we could reproduce the issue, so we could further investigate the issue.

Looking forward to hearing from you.

Kind regards,
Kiril Vandov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alexander
Top achievements
Rank 1
answered on 19 Feb 2015, 03:19 PM
Thanks. That solved the problem.
Tags
Diagram
Asked by
Alexander
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or