D25697: Port away from KIconLoader::SizeSmallMedium

Christoph Feck noreply at phabricator.kde.org
Mon Dec 2 21:53:20 GMT 2019


cfeck added a comment.


  Traditionally, 22 was used for toolbar icons. You could replace 22 with QStyle::PM_ToolBarIconSize, but it really depends on where you want the icons to appear. Generally, QStyle::PM_SmallIconSize is for icons that are placed next to a single line of text, unless there is a more specifc PixelMetric enum, e.g. QStyle::PM_ButtonIconSize.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D25697

To: nicolasfella, #frameworks
Cc: cfeck, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191202/2909dd84/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list