简体   繁体   中英

Form designer in VS2013 Zoomed in?

Just upgraded to windows 8 and loaded on VS2013, opened up a quick new project (winforms) and created a 2 min, quick UI..

Just noticed when I've built/run the app that the form in design mode appears larger than the form when its actually Started.

Screen shot below.

Ive never had this before? Form designer has always been relative to the executable running.

Have I set something up wrong does anyone know?

Form seems really big in the designer?

My screen res is 1440x900.

在此处输入图片说明

I did resolve this issue in the end, but it was a strange "fix". I check my Display settings and the section "Change the size of all items" was set to 100% (default), but in VS my form designer would still be working to a different scale it appeared.

I changed the size/scale in Display to 125% and that brought the VS form in design mode in-line (size-wise) to the form when running, but obviously both were now running scaled up to 125% which was way to large. I then returned the Display setting back to 100% default and when I opened VS I noticed instantly the scale seemed correct. And thankfully now my forms in designer were the same scale as my forms when running. Its almost as though VS was picking up an incorrect setting(s) and the Display setting just needed refreshing.

I dont think this was a fluke for me as I have had the exact same issue over 4 recent fresh builds of VS 2013 on different machines across Windows 8 and 8.1. All had this same issue.

Just thought i'd share my experience incase it helps anyone else in the future - very random issue to encounter!

I had the same problem when using 1080p laptop display and 1440p monitor. No "Change the size of items" helped. VS somehow remembered the settings from 1440p monitor on 1080p laptop display - even without the connected 1440p. All I had to do was to connect the laptop to 1440p monitor and move the vs window from 1080p to 1440p and back to 1080p. Now the scale seems fine.

I had the same issue with VS2013 in Windows 10 and the same solution resolved it. Just toggle the Windows display settings back to 100%. All good now!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM