From f5b10c10560bb26db5d27fa56535a6cdaecb1a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Climent?= Date: Wed, 6 Oct 2021 16:28:35 +0200 Subject: [PATCH] give more space for wider date formats --- elevenclock/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elevenclock/__init__.py b/elevenclock/__init__.py index 078af00a..9d746d86 100644 --- a/elevenclock/__init__.py +++ b/elevenclock/__init__.py @@ -78,8 +78,8 @@ def __init__(self, w, h, dpix, dpiy, fontSizeMultiplier): h = 48*dpiy except: pass - self.move(w-(80*dpix), h-(48*dpiy)) - self.resize(72*dpix, 48*dpiy) + self.move(w-(88*dpix), h-(48*dpiy)) + self.resize(80*dpix, 48*dpiy) self.setStyleSheet(f"background-color: rgba(0, 0, 0, 0.01);margin: 5px; border-radius: 5px; ")#font-size: {int(12*fontSizeMultiplier)}px;") self.font: QFont = QFont("Segoe UI Variable") self.font.setPointSizeF(9)