[KPhotoAlbum] Scaling date bar appropriately on startup

Robert Krawitz rlk at alum.mit.edu
Sun May 6 22:31:21 BST 2018

The date bar always comes up in decade view for me, which gives a
thoroughly ridiculous time range.  This is because the width is
calculated prior to the window being exposed; something defaults it to
100.  This patch refreshes the date bar when the window is exposed,
allowing it to use more appropriate default units (particularly on
very high resolution displays).

I'm also working on adding a minutes unit; this is useful for
e. g. sports shooting where the 10 minute bar width simply doesn't
make a lot of sense.
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Scale-the-date-bar-appropriately-upon-exposure.patch
Type: application/octet-stream
Size: 698 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20180506/3aa175d4/attachment.obj>

More information about the Kphotoalbum mailing list