Pending Review
Last Updated: 11 Mar 2025 17:22 by Adam
Adam
Created on: 11 Mar 2025 17:22
Category: UI for WPF
Type: Bug Report
2
RadRichTextbox: Underlined spaces extended beyond scope of the control visibility are still visible in a RadDocument

We are using the RadRichTextbox limiting the width size and configured to wrap the text, automatically increasing its height as needed. While this functionality works correctly for most text, it fails in cases where a line ends with spaces. These trailing spaces extend beyond the control's visible boundaries, making them invisible on-screen, yet they remain present in the RadDocument.

To reproduce: Create a RadRichTextbox with limited width and auto adjusted height. Type in underlined text on first line and add a lot of spaces that go behind the visible width. Type in more text to see the visible underlined text go to the next line (while hiding the added underlined spaces of the previous line). Exporting to RadDocument shows the extra underlined spaces that RadRichTextbox does not.

0 comments