Improved text

This commit is contained in:
Maximilian Giller 2019-04-09 11:35:35 +02:00
parent 009f3cd08b
commit c8365ecc63

View file

@ -135,6 +135,7 @@ class HourListDesign (DesignEntity):
text_color = colors["bg"]
textbox_size = (size[0] - event_title_padding, size[1] - event_title_padding)
txt = TextDesign(textbox_size, text = text, fontsize=event_title_fontsize, color=text_color, background_color=box_color, wrap=True)
txt.mask = False
txt.pos = (pos[0] + event_title_padding, pos[1] + event_title_padding)
self.draw_design(txt)