Introduce units.iconSizeHints.* to provide user-configurable icon size hints
ClosedPublic

Authored by hein on Apr 26 2017, 11:41 AM.

Details

Summary

In effect this is meant to resurrect the "Panel" icon size setting from
the Icons -> Advanced KCM in System Settings, for use as a ceiling on
panel icons to avoid them taking up too much space, especially in wide
vertical panels.

Previously, the actually-unused "Desktop" size hint was added to the
iconSizes map. I believe this was in error, as the size hints are
semantically different from the size classes. This patch marks the
"desktop" iconSizes map entry as deprecated and makes it available
under iconSizeHints instead.

The soon-to-be-updated D5592 will demonstrate this API in use.

CCBUG:378443

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein created this revision.Apr 26 2017, 11:41 AM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptApr 26 2017, 11:41 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
mart accepted this revision.Apr 26 2017, 11:45 AM
This revision is now accepted and ready to land.Apr 26 2017, 11:45 AM
This revision was automatically updated to reflect the committed changes.