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
A quick and easy way is to offset text from vertical scroll, by calling this example method at form load and at form/control resize events:
private void AdjustTextBoxRMargin()
{
richTextBox1.RightMargin = richTextBox1.Size.Width - 35;
}
The value of 35 seems to work for Win7, but may differ on other versions of Windows.