Bug 436545

Summary: Some padding should be applied to calendar cells to make it look better
Product: [Applications] digikam Reporter: Jozef Říha <jose1711>
Component: Plugin-Generic-CalendarAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:
Attachments: Example describing the issue

Description Jozef Říha 2021-05-03 18:57:11 UTC
Created attachment 138120 [details]
Example describing the issue

SUMMARY
With the lines drawing the printed calendar does not look very well due to the fact that numbers/week days are right-aligned without any padding.

STEPS TO REPRODUCE
1. Select some images
2. Start calendar tool
3. Render output with the default setting

OBSERVED RESULT
There is very little space between the end of the character and adjacent line. This looks a bit unnatural.

EXPECTED RESULT
Appearance is improved by adding some padding.
Comment 1 Maik Qualmann 2021-05-03 19:52:56 UTC
Git commit 95bc548c1d68e183a16145b3b85f5541f86aa6f5 by Maik Qualmann.
Committed on 03/05/2021 at 19:51.
Pushed by mqualmann into branch 'master'.

calculate text position based on cell size
FIXED-IN: 7.3.0

M  +2    -2    core/dplugins/generic/tools/calendar/print/calpainter.cpp

https://invent.kde.org/graphics/digikam/commit/95bc548c1d68e183a16145b3b85f5541f86aa6f5