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

RotationAdorner click area too small

2 Answers 83 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
ODB
Top achievements
Rank 1
ODB asked on 11 May 2018, 07:31 AM

Hi,

I'm having an issue with the diagram, all my shapes have the rotation adorner enabled so i can rotate them with the mouse, however you need to to go to the center of the icon to be able to grab it and start the rotation.

 

I tried to change the FontSize of the textblock, i tried to put a border around the textblock and also i tried to change the telerik textblock to an image but they all seem to fail.

No matter how big the "RotationAdorner" is you always need to click the center in order to rotate shapes, which in tablet mode makes it really hard to use, is there any way i can change this?

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 15 May 2018, 12:24 PM
Hi ODB,

Thank you for your interest in our RadDiagram framework

To increase the activation radius of the rotation handle you can set the RotateHitTestRadius property of the ManipulationAdorner. 
<Style TargetType="diagramPrimitives:ManipulationAdorner" >
    <Setter Property="RotateHitTestRadius" Value="50"/>
</Style>

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
ODB
Top achievements
Rank 1
answered on 16 May 2018, 07:23 AM
Worked great, thanks!
Tags
Diagram
Asked by
ODB
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
ODB
Top achievements
Rank 1
Share this question
or