M
Moondazed
Guest
I have a project that I have worked on through several generations of Visual Basic. I have made many changes in my code under Visual Basic 2017. On my development computers (yes, more than one) I have not had any trouble with the scaling of my application; all of the labels, textboxes, etc all fit well on the screen. My problem is that my application has been moved to a laptop. The user of the application needs it on their laptop for business purposes; going out to various sites for our company. The fonts in labels appear to be larger; hence, either cutting text inside of the fixed label or appears underneath the textbox or other control that is associated to the label. Text in textboxes also appear to be larger than what the textbox was designed for. I have checked to see that the user had not increased the Windows Font size to above 100%. By the way, both my development system and the user's laptop are all running Windows 10 Pro with the latest updates. I have put Visual Studio 2017 Community Edition on the laptop, copied my solution to it, and ran it under VS2017CE. It runs as it should and looks fine. When I copy the executable file to the location the desktop shortcut is pointing to, it appears to run fine as well. I tested the application at a different resolution and discovered that the issue reappeared. It must be a scaling issue and I am not sure what I can do about it. I have viewed articles on the internet that mention using containers and scaling; however, most of these are from 2016 and early 2017. The people who have posted comments on the articles all say that this appears to be a continuously troublesome area for Windows Forms developers even now. This troubles me to say the least.
Thanks for whatever help you can provide. Maybe we can get the Microsoft Visual Studio team to notice that there is an issue in scaling as well as these developers who utilize high DPI screens (4K screens) and the like.
Continue reading...
Thanks for whatever help you can provide. Maybe we can get the Microsoft Visual Studio team to notice that there is an issue in scaling as well as these developers who utilize high DPI screens (4K screens) and the like.
Continue reading...