From 92def5a3f609fd32f6151144f496590a577c43cf Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Thu, 21 Dec 2023 11:24:00 -0800 Subject: Fix issue with entry text being too narrow --- src/entry.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/entry.py b/src/entry.py index 70e308b..3b639ab 100644 --- a/src/entry.py +++ b/src/entry.py @@ -22,7 +22,10 @@ class Entry: bullet = QLabel() body = QLabel() + output.setContentsMargins(2,2,2,2) + bullet.setFont(QFont("Arial", 11)) + bullet.setMaximumWidth(15) body.setTextInteractionFlags(Qt.TextSelectableByMouse | Qt.LinksAccessibleByMouse) body.setFont(QFont("Arial", 11)) @@ -72,8 +75,6 @@ class Entry: body.setToolTip("{}".format(self.link)) output.addWidget(body) - output.addStretch() - if self.done: font = body.font() font.setStrikeOut(True) -- cgit