VS 2019 designer in VB.NET placing controls in the wrong location

Don Glover 511 Reputation points
2021-11-05T03:31:09.38+00:00

I will start by stating I am not sure how to describe this.
The designer has started dropping the controls in the wrong location (see attached image.)
Also if I manually set the location for 614,419 to 614, 450 the designer saves it as 491,360.
If I reset it to 614, 450 it sets it back to 491,360
If I try and change it to 491,400 it sets it to 393,320.

I can drag the control to the location that I want, but I can't fine-tune locations. This is a recent development.

Thoughts on what is causing this and how to fix it?146649-form1.jpg

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,573 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,563 questions
0 comments No comments
{count} votes

Accepted answer
  1. Don Glover 511 Reputation points
    2021-11-06T12:09:25.517+00:00

    Ok, I have resolved the issue. At some point, I had set the screen scaling to 125%. Apparently, VS does not handle this well (at all really).

    Setting it back to 100% has resolved the issue.

    146988-scale.jpg

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Don Glover 511 Reputation points
    2021-11-05T03:34:23.773+00:00

    An additional bit of info. See the attached image for an oddity in how the textbox is being rendered in the designer with an offset of elements.

    146670-textboxrendering.jpg

    0 comments No comments