From 65a3754e84c28b12da8b4408951723debbe27841 Mon Sep 17 00:00:00 2001 From: Marko Mecina <marko.mecina@univie.ac.at> Date: Wed, 23 Nov 2022 15:03:17 +0100 Subject: [PATCH] fix app popover menu for pmgr GUI --- Ccs/pus_datapool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ccs/pus_datapool.py b/Ccs/pus_datapool.py index d617199..1dd350c 100644 --- a/Ccs/pus_datapool.py +++ b/Ccs/pus_datapool.py @@ -2224,16 +2224,16 @@ class PUSDatapoolManagerGUI(Gtk.ApplicationWindow): # Popover creates the popup menu over the button and lets one use multiple buttons for the same one self.popover = Gtk.Popover() # Add the different Starting Options - vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) + vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=5, margin=4) for name in self.cfg['ccs-dbus_names']: - start_button = Gtk.Button.new_with_label("Start " + name.capitalize() + ' ') + start_button = Gtk.Button.new_with_label("Start " + name.capitalize()) start_button.connect("clicked", cfl.on_open_univie_clicked) - vbox.pack_start(start_button, False, True, 10) + vbox.pack_start(start_button, False, True, 0) # Add the manage connections option conn_button = Gtk.Button.new_with_label('Communication') conn_button.connect("clicked", self.on_communication_dialog) - vbox.pack_start(conn_button, False, True, 10) + vbox.pack_start(conn_button, False, True, 0) # Add the option to see the Credits about_button = Gtk.Button.new_with_label('About') -- GitLab