From a36f706d2980ac277082c6dd494e2449836d8597 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 15 May 2024 23:09:33 +0200 Subject: Fix further warnings --- src/msec/msecgui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 97424fd..ac66fb6 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -1648,7 +1648,9 @@ class MsecGui: # new value hbox = Gtk.HBox() - hbox.pack_start(Gtk.Label(_("New value:")), True, True, 0) + alignment = Gtk.Alignment.new(xvalign=0.5, yvalign=0.5, xscale=1.0, yscale=1.0) + alignment.add(Gtk.Label(_("New value:"))) + hbox.add(alignment) if '*' in params: # string parameter entry = Gtk.Entry() -- cgit v1.2.1