Use a fixed icon size for the notification popup close button

Authored by ahiemstra on Dec 18 2019, 10:57 PM.

Description

Use a fixed icon size for the notification popup close button

Summary:
Both the popup header size as well as units.smallMargin depend on font
size. This causes problems with the new circular timeout indicator.
Rather than trying to somehow fix the margins, this patch changes things
to use units.iconSizes.smallMedium as close button icon size instead,
stopping it from relying on font size and hopefully fixing any layout
issues.

Test Plan: Change font size to 10/11/12 pt. Icon size remains the same.

Reviewers: Plasma, VDG, ndavis, ngraham

Reviewed By: VDG, ndavis, ngraham

Subscribers: ndavis, plasma-devel

Tags: Plasma

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