Commit 8f1b10b2 authored by Antny Zilla's avatar Antny Zilla Committed by Nate Graham

Adjust date string height to match time string with vertical panel

Summary:
Changes the height of the date string to match that of the
time string so the date is readable with a vertical panel

BUG: 404611

Reviewers: #vdg, #plasma, davidedmundson, Zren, ngraham, rooty

Reviewed By: #vdg, ngraham, rooty

Subscribers: rooty, cfeck, mart, ngraham, davidedmundson, Zren, abetts, anthonyfieroni, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19194
parent 4c28cc33
......@@ -302,7 +302,7 @@ Item {
target: dateLabel
// this can be marginal bigger than contentHeight because of the horizontal fit
height: Math.max(0.8 * timeLabel.height, minimumPixelSize)
height: sizehelper.contentHeight
width: main.width
fontSizeMode: Text.Fit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment