Approved
Last Updated: 30 Mar 2016 12:22 by ADMIN
ADMIN
Dimitar
Created on: 18 Sep 2015 10:54
Category: RichTextEditor
Type: Bug Report
1
FIX. RadRichTextEditor - the comment box has invalid size when the document has only one line and the ParagraphDefaultSpacingAfter is set to 1
To reproduce:
- Set the ParagraphDefaultSpacingAfter to 1.
- Start the application and add a comment directly.

The issue exist when there is many comments as well. The comment balloons should have minimum size and should not overlap eachother.

Workaorund:
void radRichTextEditor1_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is InsertCommentCommand)
    {
        int paragaphs = radRichTextEditor1.Document.Sections.First().Blocks.Count();

        if (paragaphs <= 1)
        {
            radRichTextEditor1.InsertLineBreak();
        }

    }
}
 
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments