gregormi added a comment.
In https://phabricator.kde.org/D10297#200680, @ngraham wrote:
> You can't just add the appropriate arrow icon to a regular button; you have
to actually use the correct type of button from the start, and then it gets the
icon in the right place automatically. Check out how the "All Processes" button
is constructed, and you can copy the same approach.
I didn't add the arrow icon manually: it is a combination of
popupMode=QToolButton::InstantPopup and arrowType=Qt::DownArrow. I thought the
theme takes care about the side of the arrow... But I'll check how "All
Processes" is constructed.
R111 KSysguard Library
To: gregormi, floeser
Cc: ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart