• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

VB.net Windows Form suddenly expanded


I have a Windows form in my VB.net Excel add-in that seems to be sizing differently after I changed the font then changed it back to the original. It seems to be some sort of bug.
Has anyone experienced forms resizing like this?
Murray Brown
Murray Brown
1 Solution
Luis PérezSoftware Architect in .NetCommented:
If the Form's AutoScaleMode property is set to "Font", then the form will resize every time you change the form's font.

Check this MSDN help topic to learn more:

Hope that helps.
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now