[kmymoney] [Bug 460952] Ledger lens improvement

Thomas Baumgart bugzilla_noreply at kde.org
Tue Oct 25 16:40:11 BST 2022


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

--- Comment #14 from Thomas Baumgart <tbaumgart at kde.org> ---
I believe the problem is within the calculation of JournalDelegate::sizeHint()
which is used to setup the height of the line. The result returned seem too
narrow under Windows but is OK on Linux. The actual drawing of the text in
JournalDelegate::paint() looks OK in both environments. Can someone try to
figure out if adjusting the calc in JournalDelegate::sizeHint()  on Windows
resolves the problem? 

The settings in fact are shared between the 5.1 and master versions. That is by
design. The font settings are not used in master's ledger view, though. So it
does not make sense to play with it. That may change in the future, but it does
not resolve the problem, as the surrounding box is the problem that clips the
text. And the size of the box is calculated based on the font size. Shrinking
the font will also shrink the box.

BTW: The cell font setting is used in the summary labels in the accounts,
categories, institutions and budget views. So those should change. The header
font setting is used in the header of the schedules view. An general area of
improvement, but of minor importance right now.

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


More information about the KMyMoney-devel mailing list