[Interest] Handling various displays on mobile...

Jason H jhihn at gmx.com
Tue Jan 27 16:53:19 CET 2015


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?




More information about the Interest mailing list