> Has anybody seen this problem? Any idea how to make the alignment the same
> on XP SP1 and XP SP2?
Have you tried enabling/disabling ClearType on both systems. IIRC, XP SP2
changes the default setting so that ClearType (or possibly Standard
smoothing) is enabled by default. Either one could potentially adjust the
font rendering just enough to prevent the label fitting properly any more if
it's a close thing.
The way to fix it would be to resize and reposition the label dynamically
using Graphics.MeasureString (or similar), or for a slightly more hacky (but
easier) solution leave enough room between the label and textbox that the
difference isn't obvious.
AndyC
Mike Hansen - 17 Sep 2004 17:37 GMT
Andy,
Thanks very much for your help. The ClearType setting is the cause of the
shifting labels. If I address this by means other than repositioning the
design-time location of the labels, I will post the code here.
Thanks again,
Mike
> > Has anybody seen this problem? Any idea how to make the alignment the same
> > on XP SP1 and XP SP2?
[quoted text clipped - 11 lines]
>
> AndyC