From 5228edfd74da58ab26c34f7107f30675da74fbe8 Mon Sep 17 00:00:00 2001 From: Thomas Neele Date: Mon, 15 Jun 2020 09:43:11 +0200 Subject: [PATCH] Use Gtk.Label.set_{x,y}align() --- src/usr/bin/diffuse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/usr/bin/diffuse b/src/usr/bin/diffuse index f973547..0606a7e 100755 --- a/src/usr/bin/diffuse +++ b/src/usr/bin/diffuse @@ -6830,7 +6830,8 @@ class NotebookTab(Gtk.EventBox): image.show() self.label = label = Gtk.Label.new(name) # left justify the widget - label.set_halign(Gtk.Align.START) + label.set_xalign(0.0) + label.set_yalign(0.5) hbox.pack_start(label, True, True, 0) label.show() self.button = button = Gtk.Button.new()