This is a migrated thread and some comments may be shown as answers.

no BLANKS if text is formated

2 Answers 115 Views
Label
This is a migrated thread and some comments may be shown as answers.
Florian
Top achievements
Rank 1
Florian asked on 11 Sep 2012, 01:50 PM
I have a RadLabel and have an formated text.
In this Text there are some works marked as bold. This works, but the blanks after the Bold works are not shown.
See the screenshot.

Here is the Text from the text property of the RadLabel control
<html><span style="font-size: 10pt">The Wizard hade <strong>Errors</strong> in the last run. <br />Please rerun the Wizard <strong><u>without</u></strong> making any changes. <br />So please go to the last page and hit the<strong> Finish Button</strong>.</span></html>

Is this a bug?

Thanks
BR Florian

PS: I use the Q2 2012 Form Controls

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 12 Sep 2012, 11:11 AM
Hi Florian,

Thank you for writing and for the provided details.

The Html-like feature has a known issue related to the incorrect painting, because some fonts do not report correctly their text metrics. For example, Segoe UI and Tahoma with font size 8.5 do not render correctly - they report incorrectly some text metrics and changing the font to Segoe UI with size 9 (or Verdana 8.25, which looks pretty good) fixes the incorrect rendering.

Please let me know if this help for your case

Regards, Peter
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Florian
Top achievements
Rank 1
answered on 12 Sep 2012, 01:17 PM
Thanks. Thats it.
I changed the Font and size and know it works.
Tags
Label
Asked by
Florian
Top achievements
Rank 1
Answers by
Peter
Telerik team
Florian
Top achievements
Rank 1
Share this question
or