Is it possible to add padding into a Rich Text Box control between the text and the border?
I tried docking a rich text box inside of a panel, with its padding for all f
The RichTextBox has no padding property.
Quick and dirty padding can be achieved by putting the RichTextBox in a Panel, which has the same BackColor
property as the RichTextBox (usually Color.White
).
Then, set the Dock
property of the RichTextBox to Fill
, and play with the Padding
properties of the Panel control.