Bug 481890 - In height stretched calendar has non uniformly aligned entries
Summary: In height stretched calendar has non uniformly aligned entries
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Calendar (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-27 11:52 UTC by postix
Modified: 2024-03-03 19:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot: Left: smalles possible calendar. right: Stretched in height. (951.37 KB, image/png)
2024-02-27 11:52 UTC, postix
Details
Screenshot: Left: smalles possible calendar. right: Stretched in height. (951.46 KB, image/png)
2024-02-27 11:58 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-02-27 11:52:54 UTC
Created attachment 166130 [details]
Screenshot: Left: smalles possible calendar. right: Stretched in height.

SUMMARY

In height stretched calendar has non uniformly aligned entries, which makes it look very weird.


STEPS TO REPRODUCE
1. Open the calendar widget
2. Make it narrow in width
3. Stretch it in height

OBSERVED RESULT
The numbers are no longer centered below the dates.
The dates no longer have uniform distance to each other.
Some dates are above the baseline.

Please see the screenshot with annotations.

SOFTWARE/OS VERSIONS
Operating System: Fedora-KDE-Live-x86_64-Rawhide-20240225.n.0.iso
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-rc5
Graphics Platform: Wayland
Graphics Processor: llvmpipe
VirtualBox 7.0 on openSUSE TW
Scaling: 2.0
Comment 1 postix 2024-02-27 11:58:02 UTC
Created attachment 166131 [details]
Screenshot: Left: smalles possible calendar. right: Stretched in height.
Comment 2 postix 2024-02-27 12:19:22 UTC
Seems like the numbers are indeed centered, but the dates look a bit weird.
Comment 3 Nate Graham 2024-02-27 19:52:58 UTC
I'm afraid you can't measure like this and get results that make sense. See https://community.kde.org/Get_Involved/Design/Frequently_Discussed_Topics#Measuring_between_variable-size_UI_elements to learn why. :)