Unplanned
Last Updated: 02 Feb 2022 12:27 by ADMIN
Kumaran
Created on: 02 Feb 2022 12:27
Category: Dock
Type: Bug Report
0
RadDock: HTML rendering in DockWindow title overlaps with the buttons

Use the following code snippet:

            ToolTabStrip tabStrip = this.toolWindow1.TabStrip as ToolTabStrip; 
            this.toolWindow1.Text = "<html><span style=\"font-family:Segoe UI;font-size:8.25;\"><b>Hello</b></span><span" +
   " style=\"font-family:Segoe UI;font-size:8.25;\">Woooooooooooooooooorld</span></html>";
            TextPrimitive text = tabStrip.CaptionElement.FindDescendant<TextPrimitive>();
            text.ClipDrawing = true;
            text.StretchHorizontally = false;
            text.DisableHTMLRendering = false;
            text.AutoEllipsis = false;

Attached Files:
0 comments