I'm trying to reduce the space between RichTextBox borders and the text inside. How can I do this? It looks like there are text paddings of 10 pixels somewhere in the RichTextBox code.
Thanks.
7 Answers, 1 is accepted
Indeed there is a minimal margin of 8 dips (pixels) in RadDocument and we currently do not provide API for changing that. We will consider introducing a property for setting it in the next minor release or internal build if possible.
If you have any other questions, do not hesitate to contact us again.
Best wishes,
the Telerik team

Cheers,
Ola
We have scheduled this for the next minor release - Service Pack 1, which is due in a few weeks.
If you have any other comments, do not hesitate to contact us again.
Greetings,
the Telerik team

Thanks!
We have managed to squeeze it in and it must be included in the Service Pack, which is due in less than a week.
If you have other questions, do not hesitate to contact us again.
Iva
the Telerik team

I downloaded the SP1 version 2010.3.1314 which says it will..."Introduce property to set the space between RichTextBox borders and the text inside", but what is the name of this new property?
Thanks.
If you are using a document in flow layout mode, the document will respect the value you set to the Padding property that RadRichTextBox inherits from Control.
<
telerik:RadRichTextBox
Name
=
"editor"
Padding
=
"0,20,100,60" /
>
If you are using paged layout mode, you can set the margin of the document like this:
<
telerik:RadRichTextBox
Name
=
"editor"
>
<
telerik:RadDocument
LayoutMode
=
"Paged"
SectionDefaultPageMargin
=
"0,0,0,0"
/>
</
telerik:RadRichTextBox
>
Best wishes,
Ivathe Telerik team