Match the behavior of Qt's internal icon engines.
Details
Details
- Reviewers
dfaure - Group Reviewers
Frameworks - Commits
- R302:456b57d71c67: KIconEngine: Center icon in requested rect
Rendering is the same for unaffected icons + highdpi still works.
Example case: Render icon into QRect(0, 0, 12, 16) - KIconLoader returns QSize(12, 12)
icon and KIconEngine would draw it at the top of the rect. This patch centers the
icon in provided rect instead.
Diff Detail
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.