From 18a1435c2563673097b029b6974213a71382e481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 20 Nov 2019 21:48:03 +0100 Subject: [PATCH] dateMenu: Bottom-align weather title/location The two labels use different font sizes, so they don't align properly. Unfortunately we don't have BASELINE alignment in Clutter, but at least END comes closer than the default FILL. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1927 --- js/ui/dateMenu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 1c6884e92..0b9c0d932 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -272,6 +272,7 @@ class WeatherSection extends St.Button { style_class: 'weather-header', x_align: Clutter.ActorAlign.START, x_expand: true, + y_align: Clutter.ActorAlign.END, text: _('Weather'), })); box.add_child(titleBox); @@ -279,6 +280,7 @@ class WeatherSection extends St.Button { this._titleLocation = new St.Label({ style_class: 'weather-header location', x_align: Clutter.ActorAlign.END, + y_align: Clutter.ActorAlign.END, }); titleBox.add_child(this._titleLocation);