Questions tagged [highdpi]

205 questions
2
votes
1 answer

Change Qt Creator Interface Scaling / Font Size

Can I change Qt Creator's (latest version: 4.14.0, Windows 10) general GUI font size (or scaling)? The problem is, my system display scaling is set to 250% and I have two options for high DPI compatibility in Qt Creator, but both have issues: I can…
Jason C
  • 38,729
  • 14
  • 126
  • 182
2
votes
0 answers

In QT, radio button and checkmark graphics distorted in HIGH DPI

Check Windowsflag sample application provided by QT Enable high DPI scaling flag with SetProcessDpiAwarenessContext(permonitor V2); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); Problem: When Dialog is moved across different DPI…
living on edge
  • 401
  • 1
  • 6
  • 13
2
votes
1 answer

JavaFX - avoid blur when drawing with rect on Canvas with highdpi

I'd like to draw on a JavaFX Canvas. Coordinates for the canvas are provided by double values, but I understand that in order to "snap" to the pixel grid, I need integer numbers to avoid drawing "inbetween" pixels, which will result in a…
ndbd
  • 2,417
  • 3
  • 23
  • 32
2
votes
1 answer

Client area erased on WM_NCACTIVATE when DPI Aware, fullscreen and frameless

I'm writing a program which needs a DPI aware, borderless fullscreen top-level OpenGL window. The program has only this main window for 99% of the time. The problem I'm having is the client area of the window is erased by windows when the window…
coderD
  • 21
  • 2
2
votes
1 answer

How to set “Override high DPI scaling” to “Application” programmatically through code

We have a control inside a activex control that suffers from graphical artifacts on Windows 10. It works fine in Windows 7. The only way we have been able to fix the artifacts is by changing the exe setting pictured below. Is there a way to change…
PraveenK
  • 61
  • 9
2
votes
1 answer

How to correctly design a Delphi application UI that is High DPI aware (4k ready)?

For the fist time I have some problems creating a "complex" UI with delphi. I use a 4K monitor for development & testing and I have some scaling issues. My app use a 2 column design, think of a diff view under a source control where you have a left…
AlexV
  • 22,658
  • 18
  • 85
  • 122
2
votes
0 answers

SSMS Display corruption switching tabs or executing scripts

This is the same issue raised by this question: Code disappearing when switching query on SQL server Here is what it looks like: Unfortunately, it is occurring in the latest version of Windows 10 and SSMS 17.9.1. It also blanks random parts of…
John
  • 133
  • 9
2
votes
0 answers

Form.PixelsPerInch no longer used in Delphi Tokyo

In older Delphi's (for example Delphi XE4), it is clear what the Form.PixelsPerInch property is for. If I change this property and save the form, close and then reload it, all controls and fonts on the form will be resized accordingly. However, in…
RaelB
  • 3,301
  • 5
  • 35
  • 55
2
votes
1 answer

High dpi scaling in Qt application make icons smoothed out

I have enabled high dpi support in my Qt application using QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); but now my images don't look crisp, instead they look "smoothed" out. For example below there is a picture of some button that are…
reckless
  • 741
  • 12
  • 53
2
votes
1 answer

How to create high-dpi console applications on macOS with C# (if it is possible at all)?

I have a simple c# console application that builds a fractal. I use Visual Studio Community on macOS. I create a bitmap of a certain size (wxh). For every pixel a color is assigned with .SetPixel, based on the calculated mandelbrotnumber. class…
raoul
  • 197
  • 3
  • 14
2
votes
2 answers

QIcon with SVG appears black

I need to support high DPI displays with my Qt 5.9.1 application and I'm looking for a solution to scale the QIcons used by the app. I'm currently only targeting Windows 7 and 10. So far, for non-high DPI displays (Windows 7), I used .ico files for…
JPh
  • 536
  • 3
  • 20
2
votes
1 answer

xrandr Size 1920x1080 not found in available modes ubuntu

I'm using a Dell XPS 15 9550 with 4k display and ubuntu as OS. I need to use Matlab but I have (as always) an HighDPI issue. Currently I'm using r2017a version of Matlab. To solve this problem I'm trying to use a little script to avoid the problem:…
Aso Strife
  • 1,089
  • 3
  • 12
  • 31
2
votes
0 answers

Overriding High DPI Scaling from CMake

I am compiling and building a C++ OpenCV app on Windows 10, which shows some images. When running on a system with screen scaling, I want to disable the OS scaling and show the pixels at their original/true size. I want to overrride the high DPI…
Adi Shavit
  • 16,743
  • 5
  • 67
  • 137
2
votes
1 answer

How to proper auto scale ToolStrip in .NET

I am struggling to solve the following issue and I am wondering if someone can help. I am building a .NET C# WinForm app targeting .NET 4.6 which should have improved high DPI support. I am developing the app on my laptop which features 4K screen…
lorenzop
  • 525
  • 4
  • 19
2
votes
2 answers

jQuery detect DPI change

I try now for half a day to detect a DPI change with jQuery. The scenario is the following: I have a MacBook Pro (Retina) and a regular screen connected to it. When I move my browser window from the regular one to the MacBooks I want to detect the…