Zren / plasma-applets

This monolithic repo has been broken up into individual repos for each widget.
84 stars 23 forks source link

DPI Scaling #58

Closed vcucek closed 7 years ago

vcucek commented 7 years ago

Event calendars agenda and timer could not be used on HDPI (4K) display, so I made those two minor fixes. Instead of hard-coding width in pixels, I have replaced that with units.gridUnit, which is DPI aware.

Thank you for making this plasmoid.

Zren commented 7 years ago

Use 50 * units.devicePixelRatio please. unit.gridUnit hides how large it really is.

Zren commented 7 years ago

Thank you for pointing out the dpi scaling issues. I've rewriten my test script to launch with QT_DEVICE_PIXEL_RATIO=2 so I should notice the dpi scaling issues when writing in the future.

I rewrote the patch with devicePixelRatio. I credited you in the commit message (instead of the commit email address).