From 41394187aae15f06fc97cc9742d2c9663430dbbf Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 13 Apr 2023 10:32:05 -0700 Subject: [PATCH] bin/pick: use lineboxes to make the UI clearer Part-of: --- bin/pick/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pick/ui.py b/bin/pick/ui.py index 5fb4ff8dfda..e30908fdf56 100644 --- a/bin/pick/ui.py +++ b/bin/pick/ui.py @@ -125,7 +125,7 @@ class UI: def _make_body(self) -> 'urwid.Columns': commits = urwid.ListBox(self.commit_list) feedback = urwid.ListBox(self.feedback_box) - return urwid.Columns([commits, feedback]) + return urwid.Columns([urwid.LineBox(commits), urwid.LineBox(feedback)]) def _make_footer(self) -> 'urwid.Columns': body = [ @@ -139,7 +139,7 @@ class UI: return urwid.Columns(body) def _make_root(self) -> 'RootWidget': - return RootWidget(self.body, self.header, self.footer, 'body', ui=self) + return RootWidget(self.body, urwid.LineBox(self.header), urwid.LineBox(self.footer), 'body', ui=self) def render(self) -> 'WidgetType': asyncio.ensure_future(self.update())