aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-05-08 04:10:41 +0200
committerRobert Tari <robert@tari.in>2023-05-08 04:10:41 +0200
commit9b4d66446225aa5d5e6e089e01917408535cc362 (patch)
tree2552510d47f9656a43d412f043d6129863b1518b
parent7004a8b66768d6d8f9b358fc6960dab9424514ad (diff)
downloadarctica-greeter-9b4d66446225aa5d5e6e089e01917408535cc362.tar.gz
arctica-greeter-9b4d66446225aa5d5e6e089e01917408535cc362.tar.bz2
arctica-greeter-9b4d66446225aa5d5e6e089e01917408535cc362.zip
src/menubar.vala: Fix host name position
-rw-r--r--src/menubar.vala5
1 files changed, 4 insertions, 1 deletions
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 */