diff --git a/applets/digital-clock/package/contents/ui/DigitalClock.qml b/applets/digital-clock/package/contents/ui/DigitalClock.qml --- a/applets/digital-clock/package/contents/ui/DigitalClock.qml +++ b/applets/digital-clock/package/contents/ui/DigitalClock.qml @@ -155,7 +155,10 @@ PropertyChanges { target: sizehelper - height: Math.min(main.showDate || timezoneLabel.visible ? 0.56 * main.height : main.height, 3 * theme.defaultFont.pixelSize) + // The values 0.71 and 0.56 were picked by testing to give + // the clock the right size (aligned with tray icons) + height: Math.min(main.showDate || timezoneLabel.visible ? main.height * 0.56 : main.height * 0.71, + 3 * theme.defaultFont.pixelSize) font.pixelSize: sizehelper.height }