Hello,
I have 2 or more shapes in my diagram. When I make big o little all shapes at once, they changes their position and I will have to place all at the previous position. There is somehow to resize this shapes in the same position?
Thanks,
Maite.
I have 2 or more shapes in my diagram. When I make big o little all shapes at once, they changes their position and I will have to place all at the previous position. There is somehow to resize this shapes in the same position?
Thanks,
Maite.
4 Answers, 1 is accepted
0
Hello Maite,
I am not completely sure that I understand your scenario. I assume that you make a group selection and then you resize the selected shapes and your issue is that the shapes change their position after you resize them. If this is your scenario, please note that changing the position of the shapes is expected. Keep in mind that the RadDiagram tries to keep the positions as well as the sizes of the shapes inside the selection relative. This is the designed and expected behavior of the group selection and group resizing.
Regards,
Pavel R. Pavlov
Telerik
I am not completely sure that I understand your scenario. I assume that you make a group selection and then you resize the selected shapes and your issue is that the shapes change their position after you resize them. If this is your scenario, please note that changing the position of the shapes is expected. Keep in mind that the RadDiagram tries to keep the positions as well as the sizes of the shapes inside the selection relative. This is the designed and expected behavior of the group selection and group resizing.
Regards,
Pavel R. Pavlov
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
Maite
Top achievements
Rank 1
answered on 16 Oct 2014, 07:55 AM
Hello Pavel,
Correctly, this is my scenario. Can I change this situation?
Thanks,
Pavel.
Correctly, this is my scenario. Can I change this situation?
Thanks,
Pavel.
0
Maite
Top achievements
Rank 1
answered on 16 Oct 2014, 07:55 AM
Ups! Sorry, I put your name in my sign.
0
Hello,
You can achieve your requirements by creating a custom Resizing service. You can subscribe to its Resizing event and you will be able to understand which shapes have been resized and you will be able to update their size and position accordingly. You can find more information about the service itself in this article. You can see a sample customization of the services of the RadDiagram in our XAML SDK repository.
Let us know if you encounter any issues.
Regards,
Pavel R. Pavlov
Telerik
You can achieve your requirements by creating a custom Resizing service. You can subscribe to its Resizing event and you will be able to understand which shapes have been resized and you will be able to update their size and position accordingly. You can find more information about the service itself in this article. You can see a sample customization of the services of the RadDiagram in our XAML SDK repository.
Let us know if you encounter any issues.
Regards,
Pavel R. Pavlov
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.