From 6feee44d1602e73c763dd222136cbcb0493525d6 Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Sun, 29 Oct 2023 14:21:42 -0500 Subject: [PATCH] Fix an off-by-one in the display of list items --- g13gui/bitwidgets/listview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g13gui/bitwidgets/listview.py b/g13gui/bitwidgets/listview.py index eb77a38..df32fea 100644 --- a/g13gui/bitwidgets/listview.py +++ b/g13gui/bitwidgets/listview.py @@ -145,7 +145,7 @@ class ListItem(Widget): self._fontHeight = bottom - top self.position = (0, ypos) - self.bounds = (DISPLAY_WIDTH, self._fontHeight + 3) + self.bounds = (DISPLAY_WIDTH - 1, self._fontHeight + 3) self._setup()