mirror of
https://github.com/ihabunek/toot
synced 2024-12-24 08:00:39 +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("")
|
self.status_text = urwid.Text("")
|
||||||
|
|
||||||
walker = urwid.SimpleFocusListWalker([
|
walker = urwid.SimpleFocusListWalker([
|
||||||
urwid.Text(self.source),
|
|
||||||
urwid.BoxAdapter(urwid.SolidFill(" "), 2),
|
|
||||||
self.filename_edit,
|
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(
|
frame = urwid.Frame(
|
||||||
|
Loading…
Reference in New Issue
Block a user