From ad79095a9ddd2180fb96007b6f75411d22d26048 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 19 May 2019 22:20:26 +0200 Subject: [PATCH] Fine tuned design --- Calendar/CryptoListDesign.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Calendar/CryptoListDesign.py b/Calendar/CryptoListDesign.py index 40f04ac..7a94ba6 100644 --- a/Calendar/CryptoListDesign.py +++ b/Calendar/CryptoListDesign.py @@ -4,6 +4,7 @@ from Assets import defaultfontsize from GeckoCrypto import GeckoCrypto from settings import crypto_coins +xpadding = 5 class CryptoListDesign (DesignEntity): def __init__ (self, size, crypto, text_size = defaultfontsize): @@ -18,6 +19,7 @@ class CryptoListDesign (DesignEntity): col_spacing = (self.size[0] / len(matrix[0])) * 0.5 table_design = TableDesign(self.size, matrix=matrix, col_spacing=col_spacing, fontsize = self.text_size, mask=False, truncate_rows=True) + table_design.pos = (xpadding, 0) self.draw_design(table_design) def __get_matrix__ (self):