You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def draw_group_task(self, painter: Painter) -> None:
#painter.width-self.box_width-(painter.left_margin + painter.right_margin)-painter.gap_between_group_box_and_timeline,
# Step 2: draw tasks
for tasks in self.tasks:
tasks.draw(painter)
we need to split group draw function to maintain the vertical line on the group background:
### Draw the roadmap groups
for group in self._groups:
group.draw(self._painter)
### Draw timeline vertical lines on the roadmap
self._timeline.draw_vertical_lines(self._painter)
### Draw the roadmap groups task
for group in self._groups:
group.draw_group_task(self._painter)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose to add the color associated to the group in the background of the group' task :

example :
the code is simple :
add this code to the draw function of group class:
and split the group and the task draw function:
we need to split group draw function to maintain the vertical line on the group background:
Beta Was this translation helpful? Give feedback.
All reactions