Skip to content

Commit

Permalink
Move save button to top
Browse files Browse the repository at this point in the history
  • Loading branch information
danschwarz authored and ihabunek committed Feb 3, 2023
1 parent 9f3a54c commit 4336871
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions toot/tui/overlays.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ def __init__(self, status):
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(
Expand Down

0 comments on commit 4336871

Please sign in to comment.