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

Numbered list font style

2 Answers 96 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Mikhail
Top achievements
Rank 1
Mikhail asked on 17 Sep 2013, 07:45 AM
Hello!

I'm having an issue when applying a font style to a numbered list in RadRiсhTextBox.

Steps to reproduce:
1. Create some lines of text
2. Select all of newly created lines of text.
3. Apply numbered list to these lines of text.
4. Set a font different from the default one

The numbrer indicator of the last line won't apply a new font.
The screenshot is attached to this post.

This can be reproduced even in your latest demo.

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petya
Telerik team
answered on 19 Sep 2013, 02:00 PM
Hi Mikhail,

Thank you for contacting us!

The cause of this behavior is that the paragraph properties for the list styles are kept in the paragraph end symbol. Currently, the last paragraph end symbol in a document cannot be selected and in case the last paragraph is in list there is no way to apply formatting to the number/bullet.

What you can do in this regard is add one additional paragraph to the document and select the whole list item.

I hope this is helpful!

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Mikhail
Top achievements
Rank 1
answered on 20 Sep 2013, 06:18 AM
Hi Petya!
Thank you for your answer.

I understood the reasons of such behaviour. 
Your solution does work but it has one disadvantage - we have to explain it to our users. The difficulty here is in the fact that they used to work in word processors like MS Word or WordPad where this issue does not appear.

Anyway, thanks. I mark your answer as a solution.
Best regards.
Tags
RichTextBox
Asked by
Mikhail
Top achievements
Rank 1
Answers by
Petya
Telerik team
Mikhail
Top achievements
Rank 1
Share this question
or