Bug 471144

Summary: Digital clock padding too big
Product: [Plasma] plasmashell Reporter: Philip Murray <philipihmurray>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 2.27.5 clock
5.20.5 clock
5.27.5 edit mode (margins visible)

Description Philip Murray 2023-06-17 10:18:00 UTC
Created attachment 159737 [details]
2.27.5 clock

Digital clock in system tray area now has large margins above & below it which result in quite small clock text (time+date).
In Debian 11 (Plasma 5.20.5) the clock font could be enlarged/made small as desired, closer to the taskbar's max height. I liked to make mine reasonably big. Now in Debian 12 (Plasma 5.27.5) the clock font is limited by a margin (visible in edit mode pic) therefore the clock font can't be made as large as before (it ignores increases at a certain point).
The icons look OK being within the larger margin of system tray, but the clock is text & could do with being bigger please, or reduce the margin for the clock so that users who want a larger clock can do so. Thanks.

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-9-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4570 CPU @ 3.20GHz
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: H87-D3H
Comment 1 Philip Murray 2023-06-17 10:18:22 UTC
Created attachment 159738 [details]
5.20.5 clock
Comment 2 Philip Murray 2023-06-17 10:19:23 UTC
Created attachment 159739 [details]
5.27.5 edit mode (margins visible)

The first pic is 5.27.5, not 2.27.5
Comment 3 Nate Graham 2023-08-28 19:54:49 UTC
The margins are intentional but configurable. If you don't like them, add a Margins Separator widget to the left of the Digital Clock widget