Hi Julien,
This is a known bug with Docking Manager. It''s currently in our system as
Defect #168.
As a workaround, you can use the following algorithm to set the size of the control, however it will result in some flashing:
if (this.dockingManager1.GetAutoHideMode(this.button1))
{
this.dockingManager1.SetAutoHideMode(this.button1, false);
this.dockingManager1.SetControlSize(this.button1, controlSize);
this.dockingManager1.SetAutoHideMode(this.button1, true);
}
else
{
this.dockingManager1.SetControlSize(this.button1, controlSize);
}
Regards,
Gregory Austin
Syncfusion Inc.