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:
parent
9f3a54c054
commit
4336871e9f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user