The silence on this thread is because you haven't really given us much to work with. Your screen looks pretty good, so presumably you're an experienced programmer. Perhaps it's just that you're under pressure and are experiencing brainfreeze. Happens to the best of us ;-) Here are some random ideas, hopefully one of them will spark an
aha! moment
Does it gradually increase to the larger size, or stay small for 14 seconds and then jump to large size?
First thought would be to search for Sleep statements. Did you use any during earlier debugging?
Second thought would be to track down the point of execution where it changes from small to large.
- Log the start and end of the initialization code.
- Log a main-loop counter.
- Log every LoadLayout call.
Third thought is that perhaps your program is using 100% of available CPU, thus nothing left for background/UI/low-priority tasks.
- What happens if you put a Sleep(100) millisecond delay after the LoadLayout (which will give the UI a chance to update the display).
- What happens if you put a Sleep(20000) 20 second delay after the LoadLayout - does it still grow large at 15 seconds through the 20 second delay?