Steps to reproduce:
1. Open the Demo application and choose one of the diagram's examples.
2. Select one shape and rotate it at 180 rotation angle.
3. Change the width:
Expected: the connections and selection rectangle are properly adjusted according to the new size
Actual: the connections are not properly rendered and selection rectangle is also not updated
Hello, Pantulu,
The possible solution that I can suggest is to force updating the layout by simulating moving with 1 px:
public RadForm1()
{
InitializeComponent();
foreach (RadDiagramShape shape in this.radDiagram1.Shapes)
{
shape.PropertyChanged += shape_PropertyChanged;
}
}
private void shape_PropertyChanged(object sender, Telerik.Windows.Diagrams.Core.PropertyEventArgs e)
{
RadDiagramShape shape = sender as RadDiagramShape ;
if (e.PropertyName == "Bounds")
{
shape.PropertyChanged -= shape_PropertyChanged;
shape.X += 1;
shape.X -= 1;
shape.PropertyChanged += shape_PropertyChanged;
}
}
Please excuse us for the inconvenience caused.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.