give schedules a css style called 'schedule' to help with styling

This commit is contained in:
Ryan Schultz
2024-09-11 23:06:43 -05:00
parent c7183a58ea
commit 35a4d87a65
@@ -555,6 +555,8 @@ class Scheduler:
if text_color: if text_color:
text_params["fill"] = text_color text_params["fill"] = text_color
text_params["class_"] = "schedule"
if len(text_lines) == 1 and not wrap_text: if len(text_lines) == 1 and not wrap_text:
text_params.update(box_alignment_params) text_params.update(box_alignment_params)
text_tag = self.svg.text(text_lines[0], insert=(x, y), **(text_params)) text_tag = self.svg.text(text_lines[0], insert=(x, y), **(text_params))