[korganizer] [Bug 225498] agenda view day labels do not match the day

Markus bugzilla_noreply at kde.org
Sat Oct 21 10:02:47 BST 2017


https://bugs.kde.org/show_bug.cgi?id=225498

--- Comment #8 from Markus <m4rkusxxl at web.de> ---
The problem is in eventviews-17.08.2/src/agenda/agendaview.cpp.

There we use createDayLabels to setup all the labels with "AlternateLabel" and
generate the "short version" to fit the topDayLabelBox, but that has no real
size yet. (Actually the size is always 100.)

I see two options:
1. Generate three strings of fixed length and let AlternateLabel decide which
one to choose.
2. Estimate the available size from e.g. mTopDayLabelsFrame and mSelectedDates.
(This has do be redone on resize as well)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list