From 9b4d66446225aa5d5e6e089e01917408535cc362 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 8 May 2023 04:10:41 +0200 Subject: src/menubar.vala: Fix host name position --- src/menubar.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/menubar.vala b/src/menubar.vala index a53b461..5c6fa09 100644 --- a/src/menubar.vala +++ b/src/menubar.vala @@ -277,7 +277,10 @@ public class MenuBar : Gtk.MenuBar hostname_item.set_sensitive (false); - hostname_item.set_halign (Gtk.Align.END); + /* The below does not work, so for now we need to stick to "set_right_justified" + hostname_item.set_hexpand (true); + hostname_item.set_halign (Gtk.Align.END);*/ + hostname_item.set_right_justified (true); } /* Prevent dragging the window by the menubar */ -- cgit v1.2.3