Hi,
I am adding a custom icon into a floating docking window using this code:
private void SetHeaderIcon(ToolWindow toolWindow, Icon icon)
{
toolWindow.FloatingParent.Icon = icon;
toolWindow.FloatingParent.ShowIcon = icon != null;
toolWindow.FloatingParent.FormElement.TitleBar.IconPrimitive.Visibility = icon != null ? ElementVisibility.Visible : ElementVisibility.Collapsed;
}The icon is added correctly, but it's not centered. I don't know if it's a problem of the theme, or it's just expected behaviour.
I added 2 screenshots of what I see with a custom icon, and with the default icon.
Is there a way to add margins or center it?
I'm using Telerik for WinForms 2018.3.911.40
Thank you.
