Scale icons in laterial area based on dpi

Authored by rizzitello on Jun 15 2018, 12:53 PM.

Description

Scale icons in laterial area based on dpi

Summary:
Before all icons in this area were set to 48px. This looked really good on Hidpi displays but on low dpi displays the icons were to large. We now check dpi so they are correctly sized.

iconSize = 16 + (scale *16);

this would give us a minimum size of 16 (if scale is 0) then
32,48,64,80,96...

HiDpi: 48px

LoDpi: 32px

Reviewers: Atelier: General Development, laysrodrigues

Reviewed By: laysrodrigues

Subscribers: patrickelectric, Atelier: General Development

Tags: Atelier: General Development

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

Merged Changes

CommitAuthorDetailsCommitted
d78c5d533b9aD13561rizzitello
Scale icons in laterial area based on dpi 
Jun 21 2018