c# - Label won't align properly in Windows XP -


when running program in windows vista, 7 or 8, it'll work fine, if run program it'll tabbed in , bad. i've tried finding out why this, can seem figure out why. other labels have exact same settings.

windows 7:

labels in windows 7

windows xp:

labels in windows xp

as can see, processor name tabbed in on windows xp. there reason why or how can fix it? thing i've ever been able overcome have program detect if it's windows xp , use cpulabel.location = new point(x, y); move manually.

apparently wasn't trimming string in windows xp. did cpulabel.text = cpuid.trim(); , after doing worked fine.

thanks @zach smiith


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -