Menu

how to seperate 1 day rectangle into 3

tony Tang
2008-07-19
2013-01-09
  • tony Tang

    tony Tang - 2008-07-19

    Hi,
    In k5n desktop calendar, a day is represented as a retangle in the right panel.
    I would like to visually seperate a rectangle that represent a day into 3 rectangles, each of the seperated rectangle stands for one workshift of a day. So i should extend a bit in Class: Calendar panel? How ?

    And what if i would like to dynamically add more shifts into a sepecific day, for instance, by right click on a day rectangle, make a popup-menu, choose to add a new shift, then the day rectangle is seperated into 2 rectangles. Is it possible to be extend like that?  And how?

    Thanks.
    Tony

     
  • Craig Knudsen

    Craig Knudsen - 2010-08-17

    You would need to either modify or override the us.k5n.ui.calendar.CalendarPanel class to do this.

     

Log in to post a comment.