|
-
Feb 6th, 2024, 01:14 PM
#1
Thread Starter
Frenzied Member
Visual Studio & 4K
This is not specifically a VB.Net question, more of a VS question. Does anyone here use a 4K monitor for programming? Yesterday I replaced my old monitor with a new 4K monitor. It looks & works beautifully with everything but Visual Studio. By default Windows 11 has set the scaling to 150%. In VS this messes with the forms designer & I can't create forms to the size that I want. VS suggests setting the scaling for VS to 100%. It even provides a link to do so. This fixes the forms sizing issue but then the code text is less sharp, almost fuzzy looking. I am not happy with either situation. Just wondering if anyone has figured out how to not have the scaling issue with forms & still have sharp text.
This is a quote from a Microsoft support page:
When you open a form in Windows Forms Designer on an HDPI monitor, Visual Studio displays an info bar that displays the monitor's current scaling percentage (for example, 150%/144 DPI), an option to restart Visual Studio at 100% scaling to match Windows Forms Designer, and further information. Restarting at 100% scaling makes VS DPI-unaware, allowing for proper rendering without overlap.
and also...
When Visual Studio runs as DPI-unaware, the designer layout issues are resolved, however fonts might appear blurry and issues can appear in other designers such as the XAML Designer. Visual Studio displays a different informational message when DPI-unaware that says "Visual Studio is running as a DPI-unaware process. WPF and XAML designers might not display correctly."
Thanks for any help...
Last edited by nbrege; Feb 6th, 2024 at 01:24 PM.
-
Feb 6th, 2024, 02:17 PM
#2
Re: Visual Studio & 4K
Yeah, I have the same issue. What's worse is that if you do not rescale it, when you go to click somewhere either in the designer or in a code file it doesn't select the thing I'm trying to select.
-
Feb 6th, 2024, 03:15 PM
#3
Thread Starter
Frenzied Member
Re: Visual Studio & 4K
So have you done anything to resolve the issue?
-
Feb 6th, 2024, 03:24 PM
#4
Re: Visual Studio & 4K
Nope, commented to explain that I have the same issue and for me to subscribe to the thread in case someone else has the resolution.
-
Feb 6th, 2024, 03:35 PM
#5
Thread Starter
Frenzied Member
Re: Visual Studio & 4K
Ok, no problem. I guess I'll also wait for someone smarter than me to post a solution. For now, I guess I'll have to aclimate to fuzzy text...
-
Feb 6th, 2024, 03:48 PM
#6
Re: Visual Studio & 4K
What if you have two monitors with different resolutions?
-
Feb 6th, 2024, 07:58 PM
#7
Thread Starter
Frenzied Member
Re: Visual Studio & 4K
 Originally Posted by dbasnett
What if you have two monitors with different resolutions?
I have not tried that, so I'm not sure how it would work, but my plan is to have only 1 monitor for now...
-
Feb 9th, 2024, 02:49 PM
#8
Re: Visual Studio & 4K
If it helps any, I discovered that the issue only presents itself when you have something that uses a designer file.
For example, if you're working in an ASP.NET MVC project it will not prompt you to resize nor will the text be blurry but if you're working a Windows Form Application -or- a legacy Web Form project then it will prompt you to resize.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|