El Tuesday 27 January 2015, Jason H escribió:
> I've spec'd the text my QML ui in points, and that works well. But the
> problem comes when i calculate padding and offsets in pixels. It looks
> great on my device (Note 2) but on newer devices with higher DPIs, the UI
> looks un-padded. I need a wa
Hi, as Note 2 is an Android device you can check
QT_ANDROID_THEME_DISPLAY_DPI environment for DPI.
On Tue, 27 Jan 2015 18:53:19 +0300, Jason H wrote:
> I've spec'd the text my QML ui in points, and that works well. But the
> problem comes when i calculate padding and offsets in pixels. It lo
I've spec'd the text my QML ui in points, and that works well. But the problem
comes when i calculate padding and offsets in pixels. It looks great on my
device (Note 2) but on newer devices with higher DPIs, the UI looks un-padded.
I need a way to get the DPI so I can properly calculate spacin