From d8a1c1c2506548364deb9436d3d5dfa1c0babeba Mon Sep 17 00:00:00 2001 From: dicijr Date: Thu, 16 May 2019 23:33:35 -0400 Subject: [PATCH] Line-thickness setting for day-list panel only --- Calendar/DayListPanel.py | 3 ++- Calendar/settings.py.sample | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Calendar/DayListPanel.py b/Calendar/DayListPanel.py index a9d3d9a..3cec7a8 100644 --- a/Calendar/DayListPanel.py +++ b/Calendar/DayListPanel.py @@ -8,10 +8,11 @@ from TextDesign import TextDesign from DayHeaderDesign import DayHeaderDesign from DayRowDesign import DayRowDesign from RssPostListDesign import RssPostListDesign +from settings import line_thickness todayheader_pos = (0,0) todayheader_size = (1,0.25) -lines_thickness = 1 +lines_thickness = line_thickness infoarea_replacedrowscount = 3 dayrowsarea_ypos = todayheader_size[1] diff --git a/Calendar/settings.py.sample b/Calendar/settings.py.sample index 5a72c4d..9af2205 100644 --- a/Calendar/settings.py.sample +++ b/Calendar/settings.py.sample @@ -26,6 +26,7 @@ update_interval = 60 """DESIGN""" font_size = 14 # does not affect every text font_boldness = "semibold" # extralight, light, regular, semibold, bold, extrabold +line_thickness = 1 #1-3 Thickness advised // Default = 1 // day-list view only! choosen_design = "month-overview" # month-overview, day-list, day-view, agenda-list, month-view general_settings = { # General settings that designs may use "info-area" : "rss", # empty, events, rss