question

DonGlover-0631 avatar image
0 Votes"
DonGlover-0631 asked DonGlover-0631 answered

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

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


vs-generaldotnet-visual-basic
form1.jpg (97.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DonGlover-0631 avatar image
0 Votes"
DonGlover-0631 answered

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



scale.jpg (10.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DonGlover-0631 avatar image
0 Votes"
DonGlover-0631 answered

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



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.