[applets/digital-clock] Fix date sizing in vertical panel

Authored by ngraham on Mar 20 2020, 10:41 PM.

Description

[applets/digital-clock] Fix date sizing in vertical panel

Summary:
This patch fixes several errors in the code:

  • The property is named font.minimumPixelSize, not minimumPixelSize
  • The calculation in minimumPixelSize did not make sense
  • Setting the height to dateLabel.paintedHeight is nonsensical

BUG: 417852
FIXED-IN: 5.18.4

Test Plan:

Reviewers: VDG, Plasma, cblack, davidedmundson

Reviewed By: VDG, Plasma, cblack, davidedmundson

Subscribers: davidedmundson, cblack, muesli, plasma-devel

Tags: Plasma

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

Details

Committed
ngrahamMar 24 2020, 3:26 PM
Reviewer
VDG
Differential Revision
D28172: [applets/digital-clock] Fix date sizing in vertical panel
Parents
R120:bf28d5d2b4f4: [VirtualDesktopInfo] Connect to rowsChanged singal
Branches
Unknown
Tags
Unknown