diff --git a/Calendar/DayListPanel.py b/Calendar/DayListPanel.py index 1324527..2aa4b0b 100644 --- a/Calendar/DayListPanel.py +++ b/Calendar/DayListPanel.py @@ -19,6 +19,8 @@ dayrowsarea_ypos = todayheader_size[1] dayrowsarea_height = 1 - todayheader_size[1] dayrow_min_format = 50 / 384 dayrow_max_format = 70 / 384 +rss_x_fontsize = 14 / 384 +rss_y_padding = 5 class DayListPanel (PanelDesign): """Overview that focuses on the current day and @@ -48,12 +50,13 @@ class DayListPanel (PanelDesign): self.__draw_rss_infoarea__(rss) def __draw_rss_infoarea__ (self, rss): - height = infoarea_replacedrowscount * self.dayrow_size[1] * self.size[1] + height = infoarea_replacedrowscount * self.dayrow_size[1] * self.size[1] - rss_y_padding ypos = self.size[1] - height size = (self.size[0], height) + fontsize = rss_x_fontsize * size[0] pos = (0, ypos) - design = RssPostListDesign(size, rss) + design = RssPostListDesign(size, rss, fontsize) design.pos = pos self.draw_design(design)