[Folder view]Make shadow scale aware

Authored by gvgeo on Feb 19 2020, 3:35 PM.

Description

[Folder view]Make shadow scale aware

Summary: Added devicePixelRatio to shadow's radius.

Test Plan:
Check the shadow of items on the desktop.
Compare scale 100% vs big display scale (e.g. 300%).
Before: Shadow is invisible.
After: Visible shadow at every display scale.

Before vs After
Scale 300% and 100%

Reviewers: Plasma, VDG, apol, ngraham, davidedmundson

Reviewed By: Plasma, VDG, apol, ngraham, davidedmundson

Subscribers: broulik, davidedmundson, apol, ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27316

Details

Committed
ngrahamFeb 19 2020, 3:35 PM
Reviewer
Plasma
Differential Revision
D27316: [Folder view]Make shadow scale aware
Parents
R119:ca9f0eeb9b53: Set good default value for cursor theme and size in KRDB
Branches
Unknown
Tags
Unknown