Giedrius
1/7/2005 2:35:00 PM
Hi,
using DrawString, MeasureString works not as it should on my WinXP
SP2+.NET1.1 latest SP. On Win2003 works fine.
Problem is that same text in a owner drawn grid is drawn with different
spacing between words.
It looks like below (same text just first ends with 1, second ends with 12):
"Some text ver 1"
"S om e text v er ..."
Same appearance is visible on VS.Net designer where property descriptions
are shown.
After lots of testing I found, that this behaviour does not occure only if
specifying Rectangle.Width=0, however it is not acceptable.
My question, is it a problem only for me? If it is not, how it should be
resolved?