212 questions
1
vote
0
answers
82
views
How to fix single row of unpainted pixels underneath Win32 menu bar with Per-Monitor v2 DPI scaling?
I saw the following problem with my own app, but then I reproduced it with Windows Media Player, so I assume it's a bug in Windows.
The question is, how can I avoid it or work around it in my own app?
...
2
votes
2
answers
239
views
How do I render images sharp in Jupyter notebook with VScode when Windows scaling is enabled?
I want to display an image from an array in a Jupyter notebook (inline) in Visual Studio Code.
I'm running Windows 11 on a high DPI monitor with scaling set to 150%.
Pixels don't render sharp in the ...
0
votes
1
answer
48
views
Frame of PushButton is cut off when using fractional DPR
I recently updated a piece of software from Qt 5.15 to Qt 6.5. The process itself was easier than expected but the new handling of high-DPI scaling in lead to some visual errors on multiple Widgets, ...
0
votes
0
answers
215
views
How to prevent windows being scaled in SFML?
I am using SFML on MacOS. I have a problem, which is that everything is scaled by a factor of 2. For example, if I make a 10x10 window using window.create(sf::VideoMode(10, 10), "Window");, ...
0
votes
0
answers
83
views
How to scale tab images in high DPI 4k Windows Form application?
In my Windows Form application I use images from an image list for my tabs. This is configured via Visual Studio 2022, no code written on my side.
Looks fine on a 1920 resolution.
However, under 4k ...
1
vote
1
answer
137
views
High DPI cause wrong scaling of pixmaps
I'm using Qt 6.5 on Windows 10, the pixmaps on my application are scaled differently according to the current DPI.
A minimal reproducible exxample:
Windows scale 100%
scale 125%
scale 150%
class ...
2
votes
3
answers
4k
views
How to make .NET 6 Windows Forms ignore DPI scaling?
I am using Windows Forms to host DirectX-rendered content using SharpDX RenderForm. The issue is that when I set the form Size, it scales it by the scaling factor of my display, which is not what I ...
1
vote
0
answers
279
views
User control won't resize properly when run outside Visual Studio
I'm developing a WinForms app using Visual Studio 2022 and .NET 6. My app makes extensive use of user controls, which are part of the same project. Very often, user controls are anchored so that they ...
3
votes
1
answer
1k
views
High DPI scaling in Qt 6.4 not working out of the box on Windows for Qt Examples
I am wondering if I am missing something in setting up Qt high DPI scaling.
Right now I have a problem on two displays with 100% and 200% scaling. I am on Windows 10 using Qt 6.4.3 in C++, using Qt ...
0
votes
1
answer
47
views
What's the reason of "b" being larger in height than capital "P"?
I have a simple WinForm with a Label (text: tabPage).
In 100% scale:
However when I move the form to a 250% display:
As you can see, "P" is smaller in height than "b".
Font is ...
0
votes
1
answer
1k
views
How can I prevent any and all DPI scaling at all times regardless of monitor for my WPF app?
I have a WPF app that I want to look the same at all times on all DPI scaling settings on any monitor. By this I mean that the app should have the same size in real physical pixels as it has when ...
0
votes
0
answers
351
views
Why my label is not scaling properly on DPI change?
I have created a WinForm along with a Label in Visual Studio 2022:
namespace WinFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
...
0
votes
0
answers
93
views
Windows form sizing issue
I tbh don't know, I got 1 butto. To extend the form width or bring it to normal, on my laptop at 100% screen scale I get it to work, at 125% scale it gets almost to the edge, 150% scale it won't go a ...
0
votes
1
answer
229
views
Is it possible to include other backends in a Tkinter window than the Tk backends?
I recently had many issues with Tkinter backends on my MacBook Pro high DPI display. The plots look blurry. It is a known issue, which unfortunately cannot be resolved unless using a different backend ...
0
votes
1
answer
197
views
Is it needed to change font weight when using High DPI monitors for wxWebview in wxWidgets library?
I am working with wxWebview widget with both IE and Edge backend in Windows 10.
My understanding so far is that IE does not respect high DPI monitors and does not scale fonts respectively. So in IE ...
2
votes
0
answers
612
views
How to make 150% scaled Qt6 app not look pixelated?
I'm trying to add support for High DPI scaling to my Qt6 application. For this I added an @2x set of icons, which are used when scale factor is 200%. But platforms like Windows also have intermediate ...
0
votes
0
answers
73
views
why python saves graph partially in high dpi?
I need to save a graph with high resolution by:
plt.savefig('trace', format='jpeg', bbox_inches='tight', dpi=3000)
The main graph is:
But it saves partially, like this:
How can I solve this problem?
1
vote
1
answer
194
views
I have a checkbox in a DataGridView that is not rendered/visible and can't be interacted with in some remote desktop sessions - how to I fix it?
Environment
RDP Target: Windows 2016 Hyper-V Server
RDP Client: Windows 10
Main Monitor of client: 1920x1080 150% scaling.
Application
C++/MFC with spawned (via COM) C# Winform, showing a Data Grid ...
0
votes
1
answer
226
views
Tkinter DPI bug depends on how import is entered?
I have a weird question. In essence: why does the way I enter the pyplot import line into iPython influence my plot?!
Try this (on Windows 10):
Use a high-DPI main monitor set to 200%
Start a fresh ...
2
votes
1
answer
1k
views
Can font sizes in Qt Designer be specified in pixels instead of points?
After a lot of research I finally realized that my application is looking funny because the fonts specified in Qt Creator are in points and not in pixels, and my laptop is running at 125% scale.
Is ...
0
votes
0
answers
111
views
Install4j: Changing Application Properties During Installation
The software I am working on uses high-dpi scaling and I have noticed that some users specifically on higher res screens are having issues seeing font sizes within the software. This seemed to be ...
0
votes
3
answers
612
views
How to adjust visual components that don't scale correctly in a high DPI aware Windows application made in Delphi?
In a previous question I managed to adjust the "padding" between components using Monitor.PixelsPerInch.
Now I have a different problem: I have a "..." (browse) TButton at the left ...
2
votes
0
answers
3k
views
How to set High DPI scaling override to System (Enhanced) for WinForms app
I have an old-school ordinary WinForms app in VS2019, for which the tabs on a tab control are vertically squished on a high-DPI monitor. In fact, if the app is opened on a high-DPI monitor and ...
1
vote
1
answer
386
views
ContextMenuStrip doesn't DPI scale when Form is dragged between monitors with different resolution/scaling (WinForms, .NET 6.0, PerMonitorV2)
The ContextMenuStrip doesn't scale when its parent Form is dragged between monitors of different resolution/scaling. The ContextMenuStrip is correctly shown with correct scaling for whatever screen it ...
7
votes
3
answers
17k
views
Command to switch main display scaling to 100%
When opening WinForms controls/forms in Visual Studio 2022 on my high DPI display, this message is being displayed:
Scaling on your main display is set to 150%. Restart Visual Studio with 100% scaling
...