[Applet]Fix dimensions of traffic Monitor

Authored by gvgeo on Feb 18 2020, 4:35 AM.

Description

[Applet]Fix dimensions of traffic Monitor

Summary:
Remove top margin.
Workaround to get paintedheight for label. (Undefined or paintedheight
does not work.)
Base plotter's top margin on labels size.
Add small spacing at the bottom.
Add 0 value.
Align labels to the right.

Test Plan:
Before


After

Reviewers: Plasma, VDG, jgrulich, ngraham

Reviewed By: VDG, jgrulich, ngraham

Subscribers: ngraham, broulik, plasma-devel

Tags: Plasma

Maniphest Tasks: T10470

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

Details

Committed
ngrahamFeb 18 2020, 4:38 AM
Reviewer
VDG
Differential Revision
D27391: [Applet]Fix dimensions of traffic Monitor
Parents
R116:2efaecee8874: [Applet]Fix details layout.
Branches
Unknown
Tags
Unknown