Commit 53fca456 authored by David Edmundson's avatar David Edmundson Committed by The Qt Project
Browse files

Take into account icon size when determining button size


When a style calculates the sizeFromContents on a pushbutton it needs to
be informed about the size of the icon on the button.

In oxygen icons with buttons are slightly larger than buttons without.

Change-Id: I2f2d5f08747ad5e6ac0dfb50531c3e7627e9b35f
Reviewed-by: default avatarSebastian Kügler <sebas@kde.org>
Reviewed-by: default avatarMarco Martin <mart@kde.org>
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent d5d31fc8
No related merge requests found
Showing with 10 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment