Questions tagged [highdpi]
205 questions
0
votes
1 answer
Design user interfaces with automatically scaling fontsizes in Qt
Qt 5.7 is claiming to have improved high DPI support. With modern Qt it is possible to create an app starter like:
#include
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
…

infixed
- 1,155
- 7
- 15
0
votes
2 answers
Improving the look of tkinter fonts on a High DPI screen
When using tkinter to create a more modern looking application, I looked to MS Word to inspire my design. Then I noticed that only when I'm using the application on a High DPI device that it looks so terrible.
Is there a way to compensate and make…

Hayden Ravenscroft
- 101
- 11
0
votes
1 answer
WinForms app spawning Windows Photo Viewer affect fonts in original app
We have a WinForms desktop application running on Windows 7 with the desktop set to 150% font size. We use Process.Start() to launch a viewer to display documents stored in our database. When a photo is viewed, Windows Photo Viewer is launched. …

Metro
- 1,464
- 14
- 24
0
votes
2 answers
Drawing high resolution pixmaps with QBrush (High DPI)
I'm trying to draw a high resolution image when device pixel ratio is set to 2x (to display nicely on a 4K monitor).
It works fine if I draw a pixmap directly on a painter:
int pixelRatio = 2;
QPixmap myImage = ...;
auto pxm =…

pullo_van
- 649
- 6
- 19
0
votes
1 answer
Determine actual screen size (not by pixels)
everybody seems to use pixels to determine screen size of a device, but it is not a good practice anymore. You can use bootstrap to create a responsive website, but it will fail on full hd screens, because a lot of pixels, don't mean big screen…

user1745558
- 91
- 1
- 1
- 7
0
votes
0 answers
Maintaining text quality in QHD+ mode or high DPI situation
How do I maintain text quality in high DPI mode? I want to take layout and text into account - specifically, my text is blurry.
I tried SetProcessDPIAware(), but this method just ignored DPI.

user2438679
- 1
- 3
0
votes
2 answers
iPad 3: how to download retina images in uiwebview
I have an hybrid iPad app loading html and javascript in a webview.
All the images are ok in ipads 1 and 2s but fuzzy in ipads 3.
I was thinking about some possible solutions:
Serve 2x images and show them at 50% in low res ipads.
Detect retina…

Vespassassina
- 515
- 3
- 7
-1
votes
1 answer
Delphi High-DPI Components
I've a question about High-DPI application in Delphi.
Surfing on the Internet I've found a series of articles published by Žarko Gajić. these articles speaks about create Delphi application ready for High-DPI.
The method describes works fine but,…

Eros
- 337
- 1
- 22
-2
votes
1 answer
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 scaling is set to 100%, at all times.
Currently, the…

user1969903
- 810
- 13
- 26
-2
votes
1 answer
How can I CreateProcess with DPI awareness set to DPI_AWARENESS_CONTEXT_UNAWARE
I have C++ application which opens other apps with CreateProcessA on Windows 10. These apps could have different settings for DPI Awareness.
So the question is - can I create processes with DPI Awareness set to DPI_AWARENESS_CONTEXT_UNAWARE?
If not…

htonus
- 629
- 1
- 9
- 19