[kmymoney] [Bug 396405] Last digit of date field is obscured by "details column" in ledger view

Thomas Baumgart bugzilla_noreply at kde.org
Thu Jul 12 10:05:13 BST 2018


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

--- Comment #3 from Thomas Baumgart <tbaumgart at kde.org> ---
But we only use ShortDate here which should have a fixed size of 10 chars.
Using  6999-12-29 should provide the greatest width with proportional fonts.

https://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKLocale.html#aaa95a4db4035832bc7effdf3dc560240abde0ec79d71101aa2be3dabb23a0d197

I am not sure where the LongDate comes into play.

The change you made only adjusts the height not the width. The width is
adjusted dynamically in 

   void Register::resize(int col, bool force)

which calls 

   void Register::adjustColumn(int col)

and finally

   int Register::minimumColumnWidth(int col)

which does the calculation.

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


More information about the KMyMoney-devel mailing list