Commit 18a1435c authored by Florian Müllner's avatar Florian Müllner

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.

GNOME/gnome-shell#1927
parent 669d12f9
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment