kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

3D view only spans a fraction of the window when GDK_SCALE is set to values other than 1 #108

Open AdrienJaguenet opened 1 year ago

AdrienJaguenet commented 1 year ago

It appears the GL canvas does not scale up with the rest of the UI. This happens on both Metal and GDK themes, so I suppose the theme itself isn't relevant. I'm using OpenJDK17 on Linux Mint 21.1. Here are the screenshots when values are GDK_SCALE=1, GDK_SCALE=2 and GDK_SCALE=4. As you can see, the canvas takes up 1/GDK_SCALE of the window's dimensions.

Capture d’écran du 2023-08-23 09-28-18 Capture d’écran du 2023-08-23 09-26-09 Capture d’écran du 2023-08-23 09-26-57