0

I am following the tutorial posted here, which has been updated for .NET 3.5 here. I am using .NET 4.0 and the splash screen works wonderfully on both my laptop, and my colleague's laptop. But if we move to our test pc, for some reason the labels do not show up on the splash form. We put a logger in there, and I can see that the label is set to Visible, it is getting the updated text, and it has a positive size.

What could be causing this behaviour?

DTI-Matt
  • 2,065
  • 9
  • 35
  • 60
  • Are you moving the source code/compiling or are you moving the executable itself? – Rob P. Sep 20 '12 at 15:53
  • 1
    This is due to the windows theme settings. Your label might be pushed off the screen or whatever due to margins, padding, borders, etc.. – banging Sep 20 '12 at 15:56
  • Is there anyway to force it to stay on the image that is a fixed size, regardless of the theme / accessibility settings? And image is an image is an image, so the text should always sit on the image in the same spot. – DTI-Matt Sep 20 '12 at 16:08
  • Found a solution here: http://stackoverflow.com/a/10644298/1233949 – DTI-Matt Sep 20 '12 at 16:43

1 Answers1

1

I had this problem about a week ago. In my case the color of the text was a system color that varied between systems, try changing the color. It may not be your issue, but it definitely causes the same issue.

Edit: Answering a question you had in your comments, there should be a autosizemode which you can try different modes until you find the one that works best, in my experience, yesterday, none and DPI work the best.

Note: My answers were based on .net 3.5 VB, but to my knowledge they are very similar and both paragraphs should be able to help.

Ryan Blevins
  • 166
  • 1
  • 9
  • Thank you for this. I found a similar solution in the link in the comments above, but I wasn't aware of the System Color point. Thanks for the heads up! – DTI-Matt Sep 24 '12 at 20:30