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?