Fine tuned visible_event_count
This commit is contained in:
parent
757a66eb6e
commit
f2581e57a6
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class EventListDesign (DesignEntity):
|
|||
self.event_prefix_func = lambda x : date_str(x.begin_datetime)
|
||||
|
||||
def __finish_image__ (self):
|
||||
self.visible_event_count = int(int(self.size[1]) // (self.line_spacing + int(self.text_size)))
|
||||
self.visible_event_count = int(int(self.size[1] + self.line_spacing) // (self.line_spacing + int(self.text_size)))
|
||||
self.__fill_event_matrix__()
|
||||
|
||||
col_hori_alignment = [ 'right', 'left' ]
|
||||
|
|
Loading…
Reference in a new issue