HTML rendering in DockWindow title

1 Answer 14 Views
Dock
Kumaran
Top achievements
Rank 1
Iron
Kumaran asked on 31 Jan 2022, 10:51 AM

Hi,

I'm trying to render HTML data as a title in the dock window caption element. Although it renders the HTML data as expected, it does overlap with the Window State & Dock buttons. I tried applying text trimming using CSS properties but It didn't work. How to avoid overlapping?

Attached a sample

Thanks

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Feb 2022, 12:40 PM
Hello, Kumaran,   

The provided sample project is greatly appreciated. 

I would recommend you to have a look at the following help article giving more details about the text rendering in the Telerik Presentation Framework:
https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/text-rendering 

It is important to note that the HTML-like text formatting functionality is supported only when using GDI+.  After investigating the precise case, it seems that the HTML-like rendered text is not properly clipped. 

I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, due to the specificity of the HTML-text rendering the possible solution that I can suggest is to increase the width of the ToolWindow and its caption element accordingly.

Please excuse us for the inconvenience caused. We will do our best to introduce an appropriate fix. Stay tuned.

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.

Tags
Dock
Asked by
Kumaran
Top achievements
Rank 1
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or