I can get the behaviour you see by changing the setting of Tools/Options/General "Use XP/Vista Look/Feel.
When that setting is Checked, but the CodeGeneration option is UnChecked the text is rendered left aligned in dev / test mode but centered when compiled.
Looks like you need both On or both Off for consistant results (and don't forget Save AS New...)
When that setting is Checked, but the CodeGeneration option is UnChecked the text is rendered left aligned in dev / test mode but centered when compiled.
Looks like you need both On or both Off for consistant results (and don't forget Save AS New...)

(That was with both my home PC - WinXP Home and office PC - WinXP Professional). Maybe your laptop is set for 'Windows XP style' ?
See what effects you get changing one or both of those check boxes on your PC.
Leave a comment: