text allignment in richtext boxes

  • Thread starter Thread starter Ramana
  • Start date Start date
R

Ramana

Hi,
When I use two rich textboxes with and without multiline property is TRUE,
The test alignment (left) is not same for both the text boxes.
If the multiline property is TRUE then I am getting a small gap between the
text and the left edge, whereas the text is almost touching the left edge if
the mutliline property is False.

For combo boxes I am getting more gap between the text and the left edge.
How to get the uniform gap for all the UI controls? I am using the same font
for all controls. We are getting comments from our UI review team due to
this inconsistent text alignment.

Advance thanks.

Ramana
 
I think the solution involves lowlevel win32 API calls. I think I need to
subclass all the basic edit controls to accomplish this. Is there any way I
can do this in C# with out subclassing the basic edit controls?

Ramana
 
Back
Top