M
Marcin Waligora
Hi all,
I'm trying to create a read-only RichTextBox that will dynamically adjust
it's width to the string I throw into it.
It should be a perfect fit. I must use RichTextBox, because some of the text
can be in different color or be
bolded.
RichTextBox.Size doesn't work, since it is only an approximation.
Does anyone know how to calculate that??
Thanks,
Marcin Waligora
I'm trying to create a read-only RichTextBox that will dynamically adjust
it's width to the string I throw into it.
It should be a perfect fit. I must use RichTextBox, because some of the text
can be in different color or be
bolded.
RichTextBox.Size doesn't work, since it is only an approximation.
Does anyone know how to calculate that??
Thanks,
Marcin Waligora