1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-23 23:52:40 +01:00

Move save button to top

This commit is contained in:
Daniel Schwarz 2023-02-03 04:08:52 +01:00 committed by Ivan Habunek
parent 9f3a54c054
commit 4336871e9f

View File

@ -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(