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 <[email protected]> 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 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 spacing.
>
> How is that done in QML?
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
Best Regards,
Igor Mironchik.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to