SplitContainer design vs run is different VB.NET VisualStudio

311 views Asked by At

I've been struggling to figure this one out, therefore I figured it was time to finally ask you guys for assistance.

I've created a Visual Basic Win Form via Visual Studio to which I added multiple split containers to get different panels.

The issue that I'm having is that when I run the application, it looks different than what's in my design. I have recreated the project several times and have gone through the SplitContainer properties, however, I still can't figure this one out.

You can see what I'm talking about here:

Example image

Any and all assistance is greatly appreciated.

1

There are 1 answers

0
theStrugglingProgrammer On BEST ANSWER

The answer was provided by @Jimi: You application is not DPIAware. As a consequence, it's subject to virtualization when the Screen DPI is different from the default 96Dpi. See this: How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)?. Some notes I've written