make button icons follow a reasonable size and layout

Authored by camiloh on Aug 22 2019, 3:38 PM.

Description

make button icons follow a reasonable size and layout

Summary:
with the Plasma style buttons which have an icon look wrong. The icon size is too big and in consecuence the whole button is drawn way too big.
With this patch the icon is set to a standard size and drawn in the button layout, in a way it looks consistent with other button with no icons.

example:

Before path:

With patch:

BUG: 399952
FIXED-IN: 5.62

Reviewers: Plasma, mart, ngraham

Reviewed By: ngraham

Subscribers: ngraham, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D23352