#Help: Task list approach based on time grid

1 messages · Page 1 of 1 (latest)

velvet pasture
#

Hello im wondering as to how i should approach having tasks being displayed based on time grid as im not sure how to tackle it in Unity. You see:

  1. A task box must scale based on the start and end time in grid. So if task starts at 8 am and ends at 10am (for example the balsamiq task on image 1) the box for that task must start from 8 and stop at 10.

  2. I should also be able to account for if someone doesnt start the time exactly on the time line given. So if a task starts at 8, the task box will start a little after the 8 am line.

  3. Some task boxes are collapsible due to extra elements. So for example image 2, we see the time goes by 8:10, 8:20, 8:30 and etc as its expanded but if it collapsed it will just become 8 to 10 with the task box stopping a little after 9 to represent it ends at 9:20. So i would need to scale the box and time grid based on expansion and collapsing.

dusky zodiac
#

Basically just adjust your ui dynamically. You just need to decide on units per minute/10minutes and have access to the info of the currently displayed time range.
Then just modify the ui position/anchors/whatever accordingly.