D16013: Rewrite the painting of an month item
    Daniel Vrátil 
    noreply at phabricator.kde.org
       
    Mon Oct  8 19:23:09 BST 2018
    
    
  
dvratil added a comment.
  So maybe we could pass some additional flag when creating the `MonthGraphicsItem` in `MonthItem::updateMonthGraphicsItems()` - this code is aware of the full even length, so it could simply pass an additional flag saying whether the event continues on next week (or started in the previous week, or both) and the painting code could handle that completely separately, like avoiding the border and margin on the respective side. What do you think?
REPOSITORY
  R76 PIM: Event Views
REVISION DETAIL
  https://phabricator.kde.org/D16013
To: ognarb, #kde_pim_junior_jobs, #kde_pim, mlaurent, dvratil
Cc: kde-pim, maciejn, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181008/a5d4a12b/attachment.html>
    
    
More information about the kde-pim
mailing list