Questions tagged [hidpi]

76 questions
20
votes
3 answers

How can I set the dpiAware property in a Windows application manifest to "per monitor" in Visual Studio?

I need to be able to set the dpiAware property in the manifest of my application to "per monitor". The available choices in the properties are just to enable or disable DPI awareness. Neither of these settings works for me. I can get the behavior…
Wayne
  • 321
  • 1
  • 3
  • 7
11
votes
1 answer

DPI Scaling on NixOS with LightDM + XMonad

I've stripped the xserver configuration on my HiDPI laptop down to just: displayManager: lightdm (autologin, no greeter) windowManager: xmonad desktopManager: none (xterm disabled) And everything is working fine apart from DPI scaling in some…
Jordan Mackie
  • 1,193
  • 10
  • 17
11
votes
3 answers

How to disable scaling the UI on Windows, for Java 9 applications?

There was no proper HiDPI support in Java 8. In Java 9, JavaFx applications correctly scale to the monitor they are in. For example, if my monitor is set to scale at 150%, the Java application is scaled to 150%. See:…
Marcelo Glasberg
  • 29,013
  • 23
  • 109
  • 133
9
votes
3 answers

Qt Creator "too big" on 3840x2160 and 150% scaling on Windows 10

I installed Qt 5.10 SDK on Windows 10. I thought that the HiDPI issues were fixed in Qt 5.6, but Qt Creator still seems to be "too big": Am I missing something? My resolution is 3840x2160 with the "recommended" 150% scaling. Visual Studio in the…
juzzlin
  • 45,029
  • 5
  • 38
  • 50
9
votes
5 answers

Netbeans Scaling on 4K Screen

I got a new 4K Monitor and everything looks amazing but coding with NetBeans is difficult. The controls are very small and a java frame looks very small. I've seen some Stackoverflow posts about this problem and they said I should add a line in the…
DirtyHarry
  • 93
  • 1
  • 7
9
votes
2 answers

How to make Java 9 use higher-resolution images on HiDPI display?

I downloaded and installed the latest Java 9 early access version, and was delighted to find that a Java Swing application on Windows now renders components at the correct size. No longer do my customers with HiDPI displays need to use my app at…
Steve McLeod
  • 51,737
  • 47
  • 128
  • 184
8
votes
1 answer

Gtk.Image on HiDPI displays

I use a Gtk.Image backed by a GdkPixbuf.Pixbuf to display a photo. I scale the photo to fit the available space in response to the size-allocate signal of the parent widget. The problem is that on HiDPI displays, every dimension is in logical pixels…
Zoltan
  • 2,928
  • 11
  • 25
8
votes
1 answer

HiDPI support with java 9+, scalling issue with JTable gridlines with Windows L&F - but not Nimbus

I'm migrating my Swing app to Java 11 to take advantage of the HiDPI display support. I'm using a Samsung monitor with resolution set to 3840x2160, scaling at 125%, with Windows 10. Although java 9 and above are advertised as properly handling HiDPI…
Bastien
  • 1,537
  • 2
  • 10
  • 19
7
votes
2 answers

Android emulator on hidpi displayer?

I am running android emulator 26.1.3 on my laptop with KDE Neon installed. KDE Neon is distribution based on Ubuntu 16.04 with latest KDE. The screen resolution of my laptop is 14" 3840X2160. Physical DPI == 315. In KDE 'system settings'- > 'fonts'…
trulyliu
  • 349
  • 3
  • 11
6
votes
2 answers

Generating HiDPI ImageIcon from original in Java Swing

I have an app which would use JLabel with an ImageIcon with an icon size of 32x32. I'd now like to use a 64x64 image, load it and resize it to 32x32 if low DPI, otherwise use it as a high DPI image. Resizing is easy, this trick works for…
Nuoji
  • 3,438
  • 2
  • 21
  • 35
5
votes
2 answers

How can I set the row height in Tkinter TreeView?

I wrote a small app recently that needs to be cross-platform. I used Python and Tkinter for the GUI. It works great but recently I got a new laptop with a hiDPI screen and it seems to mess up the TreeView (see image below). The text height is too…
Jacques Gaudin
  • 15,779
  • 10
  • 54
  • 75
5
votes
2 answers

Intellij 2017.2 does not scale

After updating to 2017.2 Intellij IDEA does not scale properly on Dell Ultrasharp U2415b. The icons are very big and the workspace is very small. I have checked, that Intellij changed something with HiDPI support. Anyone facing the same problem?
barracuda317
  • 608
  • 7
  • 24
4
votes
1 answer

GraphStream 2.0 mouse pointer offset when dragging nodes (not solved)

I'm working with GraphStream and I can't get the mouse pointer to drag nodes correctly. (Note how the mouse offset gets worse towards the bottom right corner). This looks like exactly the same problem as here (similar to this, only for Swing…
traveh
  • 2,700
  • 3
  • 27
  • 44
4
votes
1 answer

Java Swing HiDPI Scaling

I have created a program using Java 8 that utilises a Swing GUI in the Eclipse IDE. To scale images and icons to appropriate sizes, it gets and uses the screen resolution. Upon compiling the program within Eclipse, the program displays perfectly…
Matthew Brian
  • 105
  • 1
  • 5
4
votes
2 answers

sqldeveloper on hidpi linux

I have sqldeveloper 18.2 installation on hidpi machine (xps 9370 with 4k display) and it's unusable due to scaling issues. I have tried to launch it using different options: As is - interface icons and fonts too small As is increasing interface…
kao_kz
  • 49
  • 5
1
2 3 4 5 6