From: Scott Worley Date: Wed, 1 Oct 2025 00:17:40 +0000 (-0700) Subject: Use a Box for the not_recording view also X-Git-Url: http://git.scottworley.com/srec/commitdiff_plain/650daf790dd331359a997b363bc07c08f067ae66?ds=sidebyside;hp=7a0e798eb4ef7a2c82a1f23fb490ad20d95c37a2 Use a Box for the not_recording view also --- diff --git a/srec.py b/srec.py index b9ab344..1885406 100644 --- a/srec.py +++ b/srec.py @@ -78,8 +78,11 @@ def on_activate(app: Gtk.Application) -> None: win.set_title('SRec') stack = Gtk.Stack() + nr_box = Gtk.Box() + nr_box.set_orientation(Gtk.Orientation.VERTICAL) start_recording = make_button("Start Recording", on_start_recording, stack) - stack.add_named(start_recording, "not_recording") + nr_box.append(start_recording) + stack.add_named(nr_box, "not_recording") r_box = Gtk.Box() r_box.set_orientation(Gtk.Orientation.VERTICAL)