]> git.scottworley.com Git - nix-env-apps/blobdiff - apps.py
Set the window title
[nix-env-apps] / apps.py
diff --git a/apps.py b/apps.py
index 59aa4a95bc55a3ec969a218757483371d43b8f27..155671490fdbbecf10fc313e852aadf2ba7e8b99 100644 (file)
--- a/apps.py
+++ b/apps.py
@@ -83,11 +83,16 @@ def on_apply(_: Any) -> None:
 def make_button(label: str, action: Callable[[Any], None]) -> Gtk.Button:
     button = Gtk.Button(label=label)
     button.connect('clicked', action)
+    button.set_margin_top(10)
+    button.set_margin_start(10)
+    button.set_margin_end(10)
+    button.set_margin_bottom(10)
     return button
 
 
 def on_activate(app: Gtk.Application) -> None:
     win = Gtk.ApplicationWindow(application=app)
+    win.set_title('Apps')
     box = Gtk.Box()
     box.set_orientation(Gtk.Orientation.VERTICAL)
     edit = make_button("Edit Configuration", on_edit)