python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
In macos 10.15, using CMake's MACOSX_BUNDLE causes qt5.12.11 to get devicePixelRatio of 1?
CMake add to MACOSX_BUNDLE to use, I can build to get the .app folder, but Qt5.12.11 show devicePixelRatio: 1 (expected should be 2).
But when I block the MACOSX_BUNDLE macro, I can't build to get the...

XMuli
Votes: 0
Answers: 0
Chart.js bar chart shrinks in web app after inactivity
I've created a dashboard-type PWA using Angular and Chart.js. When the app is first rendered, the bar charts always render correctly. However, when the app is "woken up" on a mobile device a...
Steven Roth
Votes: 0
Answers: 0
CSS upscaling / force resolution
I'm working on a webgame and for performance reasons I'd like to render the UI at a certain resolution (lets say 640x480) and scale it up (just like you'd do with an image). Some transformations and b...
Martijnh
Votes: 0
Answers: 0
Why doesn't window.devicePixelRatio change on zoom in Safari?
Context: I'm using window.devicePixelRatio to determine the display resolution for a few canvases on a website.
To the best of my knowledge, the DPR value should change when zooming in and out on a we...
Stanley Zhong
Votes: 0
Answers: 0