[Applet]Fix traffic monitor labels width

Authored by gvgeo on Mar 2 2020, 8:03 PM.

Description

[Applet]Fix traffic monitor labels width

Summary:
Use text metrics to set a proper space for labels.
And remove unused plotter width.

Test Plan:
Change default font styles and family.
Change small font size.
Space available must follow the font.

Reviewers: VDG, Plasma, jgrulich, ngraham

Reviewed By: VDG, jgrulich, ngraham

Subscribers: davidedmundson, plasma-devel

Tags: Plasma

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

Details

Committed
gvgeoMar 5 2020, 1:16 PM
Reviewer
VDG
Differential Revision
D27792: [Applet]Fix traffic monitor labels width
Parents
R116:999f0ad9fb8b: Update L2TP to NetworkManager-l2tp 1.8.0 features
Branches
Unknown
Tags
Unknown