diff options
author | Louie Shprung <lshprung@scu.edu> | 2023-12-21 11:24:00 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2023-12-21 11:24:00 -0800 |
commit | 92def5a3f609fd32f6151144f496590a577c43cf (patch) | |
tree | 07c1838c00d93a15049e5ecd13f22f32830241a7 | |
parent | b0e7885074a6a97794fedafb56976bfb67a21a74 (diff) |
Fix issue with entry text being too narrow
-rw-r--r-- | src/entry.py | 5 |
1 files 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) |