[KIconLoader] Adjust emblem border depending on icon size
ClosedPublic

Authored by bruns on Oct 26 2018, 8:04 PM.

Details

Summary

The current fixed margin of 2px on each side leads to overlapping
emblems and occlusion of large areas of the main icon.

Test Plan
Before:
After:

Diff Detail

Repository
R302 KIconThemes
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Oct 26 2018, 8:04 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 26 2018, 8:04 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Oct 26 2018, 8:04 PM
bruns edited the test plan for this revision. (Show Details)Oct 26 2018, 8:07 PM
bruns edited the test plan for this revision. (Show Details)Oct 26 2018, 8:13 PM
ngraham accepted this revision.Oct 26 2018, 8:14 PM

Ah, so that's where those margins were coming from! Big thumbs-up.

This revision is now accepted and ready to land.Oct 26 2018, 8:14 PM
This revision was automatically updated to reflect the committed changes.