From 4336871e9f66fb9627f2dddd9c866e75a5813e42 Mon Sep 17 00:00:00 2001 From: Daniel Schwarz Date: Fri, 3 Feb 2023 04:08:52 +0100 Subject: [PATCH] Move save button to top --- toot/tui/overlays.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/toot/tui/overlays.py b/toot/tui/overlays.py index 5bfea1a..6623329 100644 --- a/toot/tui/overlays.py +++ b/toot/tui/overlays.py @@ -17,10 +17,11 @@ class StatusSource(urwid.Padding): self.status_text = urwid.Text("") walker = urwid.SimpleFocusListWalker([ - urwid.Text(self.source), - urwid.BoxAdapter(urwid.SolidFill(" "), 2), self.filename_edit, - Button("Save", on_press=self.save_json) + Button("Save", on_press=self.save_json), + urwid.Divider("─"), + urwid.Divider(" "), + urwid.Text(self.source) ]) frame = urwid.Frame(